Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class bad_any_cast

boost::bad_any_cast — The exception thrown in the event of a failed any_cast of an any value.

Synopsis

// In header: <boost/any.hpp>


class bad_any_cast : public std::bad_cast {
public:
  virtual const char * what() const;
};

Description

virtual const char * what() const;

PrevUpHomeNext