| Home | Libraries | People | FAQ | More

## Macro BOOST_CONTRACT_NO_OLDS

BOOST_CONTRACT_NO_OLDS — Automatically defined by this library when old value copies are not to be performed.

## Synopsis

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

    BOOST_CONTRACT_NO_OLDS

## Description

This macro is not a configuration macro and this library will generate a compile-time error if users try to define it directly. This library will automatically define this macro when users define both `BOOST_CONTRACT_NO_POSTCONDITIONS` and `BOOST_CONTRACT_NO_EXCEPTS`. Users can manually program `#ifndef` statements in their code using this macro to completely disable compilation of old value copies 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: Old Values, Old Values Copied at Body, Disable Contract Compilation