#include <pepper/str.h>
#include <stdexcept>
#include <cassert>
#include <iostream>
Go to the source code of this file.
◆ EXO_ASSERT
#define EXO_ASSERT |
( |
|
condition, |
|
|
|
msg |
|
) |
| |
Value: { \
if (!(condition)) \
{ \
std::cerr << "[assert failed] " << (msg) << ". " << std::endl; \
assert((condition)); \
} \
}
Definition at line 28 of file Check.h.
29 { \
30 if (!(condition)) \
31 { \
32 std::cerr << "[assert failed] " << (msg) << ". " << std::endl; \
33 assert((condition)); \
34 } \
35 }