...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::bad_any_cast
// In header: <boost/any/bad_any_cast.hpp> class bad_any_cast : public std::bad_cast { public: // public member functions const char * what() const; };
The exception thrown in the event of a failed boost::any_cast of an boost::any, boost::anys::basic_any or boost::anys::unique_any value.