Namespaces
Variants
Views
Actions

std::bad_typeid

From cppreference.com
< cpp‎ | types
Revision as of 11:41, 27 October 2011 by Cubbi (Talk | contribs)

Template:cpp/types/sidebar

Defined in header <typeinfo>
class bad_typeid : public std::exception;

An exception of this type is thrown when a typeid operator is applied to a dereferenced null pointer value or a polymorphic type.

Member functions

constructs a new bad_typeid object
(public member function)
copies a bad_typeid object
(public member function)
[virtual]
returns explanatory string
(virtual public member function)

Template:cpp/error/exception/exception/inherit

Example

Template:example cpp