...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_AUDITS — Define this macro to evaluate and check audit assertions at run-time (undefined by default).
// In header: <boost/contract/core/config.hpp>
BOOST_CONTRACT_AUDITS
Audit assertions and implementation checks programmed via BOOST_CONTRACT_ASSERT_AUDIT
and BOOST_CONTRACT_CHECK_AUDIT
are always compiled and validated syntactically. However, they are not evaluated and checked at run-time unless this macro is defined (because these conditions can be computationally expensive, at least compared to the cost of executing the function body).
See Also: