|
||||
File indexing completed on 2025-01-18 09:30:26
0001 0002 #ifndef BOOST_CONTRACT_DETAIL_NOOP_HPP_ 0003 #define BOOST_CONTRACT_DETAIL_NOOP_HPP_ 0004 0005 // Copyright (C) 2008-2018 Lorenzo Caminiti 0006 // Distributed under the Boost Software License, Version 1.0 (see accompanying 0007 // file LICENSE_1_0.txt or a copy at http://www.boost.org/LICENSE_1_0.txt). 0008 // See: http://www.boost.org/doc/libs/release/libs/contract/doc/html/index.html 0009 0010 // Following must be expressions, not statements (as used with if.., etc.). 0011 0012 #define BOOST_CONTRACT_DETAIL_NOOP ((void)0) 0013 0014 // Following always compiles but never evaluates cond (so check correct syntax). 0015 #define BOOST_CONTRACT_DETAIL_NOEVAL(cond) \ 0016 (true || (cond) ? BOOST_CONTRACT_DETAIL_NOOP : BOOST_CONTRACT_DETAIL_NOOP) 0017 0018 #endif // #include guard 0019
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |