std::bad_typeid(3) Library Functions Manual std::bad_typeid(3)

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.

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++