#include <boost/preprocessor/config/config.hpp>
#include <boost/preprocessor/control/expr_iif.hpp>
#include <boost/preprocessor/control/iif.hpp>
#include <boost/preprocessor/logical/not.hpp>
#include <boost/preprocessor/tuple/eat.hpp>
Macros | |
#define | BOOST_PP_ASSERT(cond) BOOST_PP_ASSERT_D(cond) |
#define | BOOST_PP_ASSERT_D(cond) BOOST_PP_IIF(BOOST_PP_NOT(cond), BOOST_PP_ASSERT_ERROR, BOOST_PP_TUPLE_EAT_1)(...) |
#define | BOOST_PP_ASSERT_ERROR(x, y, z) |
#define | BOOST_PP_ASSERT_MSG(cond, msg) BOOST_PP_ASSERT_MSG_D(cond, msg) |
#define | BOOST_PP_ASSERT_MSG_D(cond, msg) BOOST_PP_EXPR_IIF(BOOST_PP_NOT(cond), msg) |
#define BOOST_PP_ASSERT | ( | cond | ) | BOOST_PP_ASSERT_D(cond) |
#define BOOST_PP_ASSERT_D | ( | cond | ) | BOOST_PP_IIF(BOOST_PP_NOT(cond), BOOST_PP_ASSERT_ERROR, BOOST_PP_TUPLE_EAT_1)(...) |
#define BOOST_PP_ASSERT_ERROR | ( | x, | |
y, | |||
z | |||
) |
#define BOOST_PP_ASSERT_MSG | ( | cond, | |
msg | |||
) | BOOST_PP_ASSERT_MSG_D(cond, msg) |
#define BOOST_PP_ASSERT_MSG_D | ( | cond, | |
msg | |||
) | BOOST_PP_EXPR_IIF(BOOST_PP_NOT(cond), msg) |