...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::set_old_failure — Set failure handler for old value copies at body.
// In header: <boost/contract/core/exception.hpp> from_failure_handler const & set_old_failure(from_failure_handler const & f);
Set a new failure handler and returns it.
Throws: This is declared noexcept
(or throw()
before C++11).
See Also:
Throw on Failure, Old Value Copies at Body
Parameters: |
|
||
Returns: |
Same failure handler functor |