...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::copy_old — Query if old values need to be copied (but not for virtual public functions and public function overrides).
// In header: <boost/contract/old.hpp> bool copy_old();
For example, this function always returns false when both postconditions and exception guarantees are not being checked (see
). This function is usually only called by the code expanded by BOOST_CONTRACT_NO_OLDS
.BOOST_CONTRACT_OLDOF
See Also:
Returns: |
True if old values need to be copied, false otherwise. |