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


Struct bad_runtime_cast

boost::typeindex::bad_runtime_cast — Indicates that runtime_cast was unable to perform the desired cast operation because the source instance was not also an instance of the target type.


// In header: <boost/type_index/runtime_cast/reference_cast.hpp>

struct bad_runtime_cast : public exception {