libstdc++
std::bad_typeid Class Reference

#include <typeinfo>

Inheritance diagram for std::bad_typeid:
[legend]

Public Member Functions

virtual constexpr const char * what () const noexcept

Detailed Description

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

Definition at line 252 of file typeinfo.

Constructor & Destructor Documentation

◆ bad_typeid()

std::bad_typeid::bad_typeid ( )
inlineconstexprnoexcept

Definition at line 255 of file typeinfo.

◆ ~bad_typeid()

virtual constexpr std::bad_typeid::~bad_typeid ( )
inlineconstexprvirtualnoexcept

Definition at line 259 of file typeinfo.

Member Function Documentation

◆ what()

virtual constexpr const char * std::bad_typeid::what ( ) const
inlineconstexprvirtualnoexcept

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

Reimplemented from std::exception.

Definition at line 262 of file typeinfo.


The documentation for this class was generated from the following file: