|
ONPOSIX
2.0
|
#include <iostream>#include <cstdlib>

Go to the source code of this file.
Macros | |
| #define | VERIFY_ASSERTION(expr) |
| Macro to evaluate an expression. | |
Functions | |
| void | AssertionFailedMsg (const char *expr, const char *file, int line) |
| It prints the failed message and aborts the execution. | |
| #define VERIFY_ASSERTION | ( | expr | ) |
Macro to evaluate an expression.
If the expression evaluates to false then the AssertionFailedMsg function is called.
Definition at line 47 of file Assert.hpp.
|
inline |
It prints the failed message and aborts the execution.
This function is not meant to be used directly. Use VERIFY_ASSERTION.
| expr | The expression that has been evaluated. |
| file | The file containing the evaluated expression. |
| line | The line that contains the evaluated expression. |
Definition at line 35 of file Assert.hpp.