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

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

Function get_exit_invariant_failure

boost::contract::get_exit_invariant_failure — Return failure handler currently set for class invariants at exit.


// In header: <boost/contract/core/exception.hpp>

from_failure_handler get_exit_invariant_failure();


This is often called only internally by this library.

Throws: This is declared noexcept (or throw() before C++11).

See Also:

Throw on Failure, Class Invariants, Volatile Public Functions


A copy of the failure handler currently set.