Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-04-12 08:03:50

0001 # /* Copyright (C) 2001
0002 #  * Housemarque Oy
0003 #  * http://www.housemarque.com
0004 #  *
0005 #  * Distributed under the Boost Software License, Version 1.0. (See
0006 #  * accompanying file LICENSE_1_0.txt or copy at
0007 #  * http://www.boost.org/LICENSE_1_0.txt)
0008 #  */
0009 0010 ">#
0011 # /* Revised by Paul Mensonides (2002) */
0012 0013 ">#
0014 # /* See http://www.boost.org for most recent version. */
0015 0016 ">#
0017 # ifndef BOOST_PREPROCESSOR_DEBUG_ASSERT_HPP
0018 # define BOOST_PREPROCESSOR_DEBUG_ASSERT_HPP
0019 0020 ">#
0021 # include <boost/preprocessor/config/config.hpp>
0022 # include <boost/preprocessor/control/expr_iif.hpp>
0023 # include <boost/preprocessor/control/iif.hpp>
0024 # include <boost/preprocessor/logical/not.hpp>
0025 # include <boost/preprocessor/tuple/eat.hpp>
0026 0027 ">#
0028 # /* BOOST_PP_ASSERT */
0029 0030 ">#
0031 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0032 #    define BOOST_PP_ASSERT BOOST_PP_ASSERT_D
0033 # else
0034 #    define BOOST_PP_ASSERT(cond) BOOST_PP_ASSERT_D(cond)
0035 # endif
0036 0037 ">#
0038 # define BOOST_PP_ASSERT_D(cond) BOOST_PP_IIF(BOOST_PP_NOT(cond), BOOST_PP_ASSERT_ERROR, BOOST_PP_TUPLE_EAT_1)(...)
0039 # define BOOST_PP_ASSERT_ERROR(x, y, z)
0040 0041 ">#
0042 # /* BOOST_PP_ASSERT_MSG */
0043 0044 ">#
0045 # if ~BOOST_PP_CONFIG_FLAGS() & BOOST_PP_CONFIG_EDG()
0046 #    define BOOST_PP_ASSERT_MSG BOOST_PP_ASSERT_MSG_D
0047 # else
0048 #    define BOOST_PP_ASSERT_MSG(cond, msg) BOOST_PP_ASSERT_MSG_D(cond, msg)
0049 # endif
0050 0051 ">#
0052 # define BOOST_PP_ASSERT_MSG_D(cond, msg) BOOST_PP_EXPR_IIF(BOOST_PP_NOT(cond), msg)
0053 0054 ">#
0055 # endif