File indexing completed on 2025-01-18 09:41:37
0001
0002 #ifndef BOOST_MPL_AUX_TEST_ASSERT_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_TEST_ASSERT_HPP_INCLUDED
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #include <boost/mpl/assert.hpp>
0018 #include <boost/preprocessor/cat.hpp>
0019
0020 #define MPL_ASSERT(pred) BOOST_MPL_ASSERT(pred)
0021 #define MPL_ASSERT_NOT(pred) BOOST_MPL_ASSERT_NOT(pred)
0022 #define MPL_ASSERT_MSG(c, msg, types) BOOST_MPL_ASSERT_MSG(c, msg, types)
0023 #define MPL_ASSERT_RELATION(x, rel, y) BOOST_MPL_ASSERT_RELATION(x, rel, y)
0024
0025 #define MPL_ASSERT_INSTANTIATION(x) \
0026 enum { BOOST_PP_CAT(instantiation_test, __LINE__) = sizeof( x ) } \
0027
0028
0029 #endif