std::bad_typeid(3cxx) std::bad_typeid(3cxx)

std::bad_typeid - Thrown when a NULL pointer in a typeid expression is used.

#include <typeinfo>

Inherits std::exception.


virtual const char * what () const noexcept

Thrown when a NULL pointer in a typeid expression is used.

Definition at line 204 of file typeinfo.

Definition at line 207 of file typeinfo.

virtual const char * std::bad_typeid::what () const [virtual], [noexcept]

Returns a C-style character string describing the general cause of the current error.

Reimplemented from std::exception.

Generated automatically by Doxygen for libstdc++ from the source code.

libstdc++