std::bad_any_cast
Exception class thrown by a failed any_cast.
- Provided by: libstdc++-13-doc (Version: 13.3.0-6ubuntu2~24.04.1)
- Source: gcc-13
- Report a bug
Exception class thrown by a failed any_cast.
#include <any>
Inherits std::bad_cast.
virtual const char * what () const noexcept
Exception class thrown by a failed any_cast.
Returns a C-style character string describing the general cause of the current error.
Reimplemented from std::bad_cast.
Generated automatically by Doxygen for libstdc++ from the source code.