lemon/error.h
changeset 1830 ffd6d50fb155
parent 1785 606178a14011
child 1845 f8bbfed86036
equal deleted inserted replaced
3:95e8a94e41db 4:12947dee0c1a
   621 
   621 
   622 #  define LEMON_ASSERT(exp, msg)                 \
   622 #  define LEMON_ASSERT(exp, msg)                 \
   623      (static_cast<void> (!!(exp) ? 0 : (         \
   623      (static_cast<void> (!!(exp) ? 0 : (         \
   624        LEMON_ASSERT_HANDLER(__FILE__, __LINE__,  \
   624        LEMON_ASSERT_HANDLER(__FILE__, __LINE__,  \
   625                             __PRETTY_FUNCTION__, \
   625                             __PRETTY_FUNCTION__, \
   626 			    (msg), #exp, LEMON_ASSERT_ABORT), 0)))
   626 			    msg, #exp, LEMON_ASSERT_ABORT), 0)))
   627 
   627 
   628 #endif // NDEBUG || LEMON_DISABLE_ASSERTS
   628 #endif // NDEBUG || LEMON_DISABLE_ASSERTS
   629 
   629 
   630 /**
   630 /**
   631  * \brief Macro for mark not yet implemented features.
   631  * \brief Macro for mark not yet implemented features.