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.89.0.
BOOST_CONTRACT_NO_PRECONDITIONS — If defined, this library does not check preconditions (undefined by default).
// In header: <boost/contract/core/config.hpp>
BOOST_CONTRACT_NO_PRECONDITIONSIf this macro is defined, this library internal code is also optimized to reduce compile-time (not just run-time) overhead associated with checking preconditions. In addition, users can manually program #ifndef statements in their code using this macro to completely disable compilation of preconditions or use the macros defined in boost/contract_macro.hpp (recommended only for applications where it is truly necessary to completely remove contract code compilation from production code).
See Also: Preconditions, Disable Contract Checking, Disable Contract Compilation