DOKK / manpages / debian 12 / libstdc++-11-doc / std::bad_any_cast.3cxx.en
std::bad_any_cast(3cxx) std::bad_any_cast(3cxx)

std::bad_any_cast - Exception class thrown by a failed any_cast.

Inherits std::bad_cast.


virtual const char * what () const noexcept

Exception class thrown by a failed any_cast.

Definition at line 54 of file any.

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.

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

Thu Feb 16 2023 libstdc++