< cpp‎ | experimental‎ | any
Technical specifications
Filesystem library (filesystem TS)
Library fundamentals (library fundamentals TS)
Library fundamentals 2 (library fundamentals 2 TS)
Extensions for parallelism (parallelism TS)
Extensions for parallelism 2 (parallelism TS v2)
Extensions for concurrency (concurrency TS)
Concepts (concepts TS)
Ranges (ranges TS)
Special mathematical functions (special math TR)
Defined in header <experimental/any>
class bad_any_cast : public std::bad_cast;
(library fundamentals TS)

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

Inherited from std::exception

Member functions

destroys the exception object
(virtual public member function of std::exception)
returns an explanatory string
(virtual public member function of std::exception)