OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
DefensiveProgramming.h File Reference

Go to the source code of this file.

Macros

#define ASSERT(condition)
 
#define INVARIANT   ASSERT(invariant())
 
#define POST(condition)
 
#define PRE(condition)
 

Macro Definition Documentation

◆ ASSERT

#define ASSERT ( condition)

◆ INVARIANT

#define INVARIANT   ASSERT(invariant())

◆ POST

#define POST ( condition)
Value:
{ \
ASSERT(condition); \
}
#define INVARIANT
Definition DefensiveProgramming.h:18

◆ PRE

#define PRE ( condition)
Value:
{ \
ASSERT(condition); \
}