20 #ifndef MIRTK_Assert_H 21 #define MIRTK_Assert_H 23 #include "mirtk/Stream.h" 27 # define mirtkAssert(condition, message) \ 30 cerr << "Assertion `" #condition "` failed in " << __FILE__ \ 31 << " line " << __LINE__ << ": " << message << endl; \ 36 # define mirtkAssert(condition, message) do { } while (false) 40 #endif // MIRTK_Assert_H