mirror of
https://github.com/boostorg/contract.git
synced 2026-01-30 19:52:17 +00:00
added NO_CONDITIONS and using less verbose NO macro combinations in predicates
This commit is contained in:
@@ -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
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user