A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
assert.h File Reference
#include <iostream>
#include "fatal-error.h"
+ Include dependency graph for assert.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define NS_ASSERT(condition)
 At runtime, in debugging builds, if this condition is not true, the program prints the source file, line number and unverified condition and halts by calling std::terminate. More...
 
#define NS_ASSERT_MSG(condition, message)
 At runtime, in debugging builds, if this condition is not true, the program prints the message to output and halts by calling std::terminate. More...