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 version of Boost is under active development. You are currently in the develop branch. The current version is 1.90.0.
boost::contract::exception — Public base class for all exceptions directly thrown by this library.
// In header: <boost/contract/core/exception.hpp> class exception { public: // public member functions virtual ~exception(); };
This class does not inherit from std::exception because exceptions deriving from this class will do that (inheriting from std::exception, std::bad_cast, etc.).
See Also: boost::contract::assertion_failure, boost::contract::bad_virtual_result_cast, etc.