...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::contract::get_precondition_failure — Return failure handler currently set for preconditions.
// In header: <boost/contract/core/exception.hpp> from_failure_handler get_precondition_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, Preconditions
Returns: |
A copy of the failure handler currently set. |