Loading...
Searching...
No Matches
Go to the documentation of this file.
33inline void __M_Assert(
const char* expr_str,
bool expr,
const char* file,
34 int line,
const char* msg)
38 std::cerr <<
"Assert failed:\t" << msg <<
"\n"
39 <<
"Expected:\t" << expr_str <<
"\n"
40 <<
"Source:\t\t" << file <<
", line " << line <<
"\n";
46#define M_Assert(Expr, Msg) \
47__M_Assert(#Expr, Expr, __FILE__, __LINE__, Msg)
49#define M_Assert(Expr, Msg) ;