assert macros
More...
Go to the source code of this file.
| #define DT_ASSERT_ENABLED 0 |
| #define Assert |
( |
|
exp | ) |
static_cast<void>(0) |
| #define ASSERT_PREDICATE |
( |
|
p | ) |
Assert(p); |
| #define ASSERT_RETURN |
( |
|
p | ) |
|
Value:
if (p==0)\
return;
#define Assert(exp)
Definition: DtAssert.h:25
| #define ASSERT_RETURN_ZERO |
( |
|
p | ) |
|
Value:
if (p==0)\
return 0;
#define Assert(exp)
Definition: DtAssert.h:25
| #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(exp)
Definition: DtAssert.h:25
| #define ASSERT_PREDICATE_RETURN_TRUE |
( |
|
p | ) |
|
Value:
if ((p)==false)\
return true;
#define Assert(exp)
Definition: DtAssert.h:25
| #define ASSERT_RETURN_EMPTY_STRING |
( |
|
p | ) |
|
Value:
if (p==0)\
return "";
#define Assert(exp)
Definition: DtAssert.h:25
| #define ASSERT_RETURN_FALSE |
( |
|
p | ) |
|
Value:
if (p==0)\
return false;
#define Assert(exp)
Definition: DtAssert.h:25
| #define ASSERT_RETURN_TRUE |
( |
|
p | ) |
|
Value:
if (p==0)\
return true;
#define Assert(exp)
Definition: DtAssert.h:25
| #define ASSERT_EQUAL_RETURN_ZERO |
( |
|
x, |
|
|
|
y |
|
) |
| |
Value:
return 0;
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x *y t *t t x *y t *t *t x y *z t t *t t x *y *z t *t *t t x y z t t t t x *y z t *t t t x * y(z *w))
x y t t *t x y t t t x y t t t x *y t *t t x *y t *t t x y t t t x y t t t x(y+z)
#define Assert(exp)
Definition: DtAssert.h:25