lemon/assert.h
changeset 1088 4000b7ef4e01
parent 440 88ed40ad0d4f
child 1092 dceba191c00d
equal deleted inserted replaced
11:ccc399653da5 12:78ba29c5b73a
   197        (static_cast<void> (!!(exp) ? 0 : (                              \
   197        (static_cast<void> (!!(exp) ? 0 : (                              \
   198         LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                        \
   198         LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                        \
   199                              LEMON_FUNCTION_NAME,                       \
   199                              LEMON_FUNCTION_NAME,                       \
   200                              ::lemon::_assert_bits::cstringify(msg),    \
   200                              ::lemon::_assert_bits::cstringify(msg),    \
   201                              #exp), 0)))
   201                              #exp), 0)))
   202 #    if LEMON_ENABLE_DEBUG
   202 #    if defined LEMON_ENABLE_DEBUG
   203 #      define LEMON_DEBUG(exp, msg)                                     \
   203 #      define LEMON_DEBUG(exp, msg)                                     \
   204          (static_cast<void> (!!(exp) ? 0 : (                            \
   204          (static_cast<void> (!!(exp) ? 0 : (                            \
   205            LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                     \
   205            LEMON_ASSERT_HANDLER(__FILE__, __LINE__,                     \
   206                                 LEMON_FUNCTION_NAME,                    \
   206                                 LEMON_FUNCTION_NAME,                    \
   207                                 ::lemon::_assert_bits::cstringify(msg), \
   207                                 ::lemon::_assert_bits::cstringify(msg), \