assert macros
More...
Go to the source code of this file.
Detailed Description
Macro Definition Documentation
| #define DT_ASSERT_ENABLED 0 |
| #define Assert |
( |
|
exp | ) |
static_cast<void>(0) |
| #define ASSERT_PREDICATE |
( |
|
p | ) |
Assert(p); |
| #define ASSERT_RETURN |
( |
|
p | ) |
|
| #define ASSERT_RETURN_ZERO |
( |
|
p | ) |
|
| #define ASSERT_PREDICATE_RETURN |
( |
|
p | ) |
|
| #define ASSERT_PREDICATE_RETURN_ZERO |
( |
|
p | ) |
|
| #define ASSERT_PREDICATE_RETURN_DEFAULT_CONSTRUCTOR |
( |
|
V, |
|
|
|
p |
|
) |
| |
| #define ASSERT_PREDICATE_RETURN_FALSE |
( |
|
p | ) |
|
Value:
if ((p)==false)\
return false;
| #define ASSERT_PREDICATE_RETURN_TRUE |
( |
|
p | ) |
|
Value:
if ((p)==false)\
return true;
| #define ASSERT_RETURN_EMPTY_STRING |
( |
|
p | ) |
|
| #define ASSERT_RETURN_FALSE |
( |
|
p | ) |
|
| #define ASSERT_RETURN_TRUE |
( |
|
p | ) |
|
| #define ASSERT_EQUAL_RETURN_ZERO |
( |
|
x, |
|
|
|
y |
|
) |
| |