std::bad_any_cast (3) - Linux Manuals

std::bad_any_cast: std::bad_any_cast

NAME

std::bad_any_cast - std::bad_any_cast

Synopsis


Defined in header <any>
class bad_any_cast : public std::bad_cast; (since C++17)


Defines a type of object to be thrown by the value-returning forms of std::any_cast on failure.


Inherited from std::exception

Member functions


destructor destroys the exception object
             (virtual public member function of std::exception)
[virtual]


what returns an explanatory string
             (virtual public member function of std::exception)
[virtual]