Go to the documentation of this file.
14 # ifndef MSGPACK_PREPROCESSOR_DEBUG_ASSERT_HPP
15 # define MSGPACK_PREPROCESSOR_DEBUG_ASSERT_HPP
25 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
26 # define MSGPACK_PP_ASSERT MSGPACK_PP_ASSERT_D
28 # define MSGPACK_PP_ASSERT(cond) MSGPACK_PP_ASSERT_D(cond)
31 # define MSGPACK_PP_ASSERT_D(cond) MSGPACK_PP_IIF(MSGPACK_PP_NOT(cond), MSGPACK_PP_ASSERT_ERROR, MSGPACK_PP_TUPLE_EAT_1)(...)
32 # define MSGPACK_PP_ASSERT_ERROR(x, y, z)
36 # if ~MSGPACK_PP_CONFIG_FLAGS() & MSGPACK_PP_CONFIG_EDG()
37 # define MSGPACK_PP_ASSERT_MSG MSGPACK_PP_ASSERT_MSG_D
39 # define MSGPACK_PP_ASSERT_MSG(cond, msg) MSGPACK_PP_ASSERT_MSG_D(cond, msg)
42 # define MSGPACK_PP_ASSERT_MSG_D(cond, msg) MSGPACK_PP_EXPR_IIF(MSGPACK_PP_NOT(cond), msg)