Scroll to navigation

std::experimental::bad_any_cast(3cxx) std::experimental::bad_any_cast(3cxx)


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


#include <any>

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 66 of file any.

Member Function Documentation

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.

Definition at line 69 of file any.


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