std::experimental::bad_any_cast(3) Library Functions Manual std::experimental::bad_any_cast(3)

std::experimental::bad_any_cast - 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.

virtual const char * std::experimental::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.

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

libstdc++