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

Synopsis

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


class bad_any_cast : public std::bad_cast {
public:

  // public member functions
  const char * what() const;
};

Description

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.

bad_any_cast public member functions

  1. const char * what() const;

PrevUpHomeNext