std::bad_any_cast - Man Page

Exception class thrown by a failed any_cast.

Synopsis

Inherits std::bad_cast.

Public Member Functions

virtual const char * what () const noexcept

Detailed Description

Exception class thrown by a failed any_cast.

Definition at line 54 of file any.

Member Function Documentation

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

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

Reimplemented from std::bad_cast.

Definition at line 57 of file any.

Author

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

Info

Wed Apr 28 2021 libstdc++