added NO_CONDITIONS and using less verbose NO macro combinations in predicates

This commit is contained in:
Lorenzo Caminiti
2017-03-13 22:33:04 -07:00
parent 5260e15e98
commit 0611a77f0a
137 changed files with 450 additions and 829 deletions

View File

@@ -44,8 +44,7 @@ int main() {
#ifndef BOOST_CONTRACT_NO_PRECONDITIONS
<< "f::pre" << std::endl
#endif
#if !defined(BOOST_CONTRACT_NO_POSTCONDITIONS) || \
!defined(BOOST_CONTRACT_NO_EXCEPTS)
#ifndef BOOST_CONTRACT_NO_OLDS
<< "f::old" << std::endl // Test this threw.
#endif
;