File indexing completed on 2025-01-30 09:48:28
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_MP_DETAIL_ASSERT_HPP
0011 #define BOOST_MP_DETAIL_ASSERT_HPP
0012
0013 #include <boost/multiprecision/detail/standalone_config.hpp>
0014
0015 #ifndef BOOST_MP_STANDALONE
0016
0017 #include <boost/assert.hpp>
0018 #define BOOST_MP_ASSERT(expr) BOOST_ASSERT(expr)
0019 #define BOOST_MP_ASSERT_MSG(expr, msg) BOOST_ASSERT_MSG(expr, msg)
0020
0021 #else
0022
0023 #include <cassert>
0024 #define BOOST_MP_ASSERT(expr) assert(expr)
0025 #define BOOST_MP_ASSERT_MSG(expr, msg) assert((expr)&&(msg))
0026
0027 #endif
0028
0029 #endif