libstdc++
std::bad_any_cast Class Reference
Inheritance diagram for std::bad_any_cast:
[legend]

Public Member Functions

virtual const char * what () const noexcept
 

Detailed Description

Exception class thrown by a failed any_cast.

Definition at line 55 of file any.

Member Function Documentation

◆ what()

virtual const char* std::bad_any_cast::what ( ) const
inlinevirtualnoexcept

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

Reimplemented from std::bad_cast.

Definition at line 58 of file any.


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