#include <iostream>
#include <cassert>
#include <iomanip>
#include <cstring>
Go to the source code of this file.
|
| #define | DEBUGL(doit, msg) |
| |
| #define | DP(doit, msg, var) |
| |
| #define | DPL(doit, msg, var) |
| |
| #define | NDEBUG |
| |
Debugging Header File
Definition in file debug.hh.
◆ DP
| #define DP |
( |
|
doit, |
|
|
|
msg, |
|
|
|
var |
|
) |
| |
Debug Print. Prints a debugging message with a variable if the first parameter is true. At the end, the line is not wrapped.
- Parameters
-
| doit | The line is only printed if true. |
| msg | Some text |
| var | A variable |
Definition at line 41 of file debug.hh.
◆ DPL
| #define DPL |
( |
|
doit, |
|
|
|
msg, |
|
|
|
var |
|
) |
| |
Debug Print Line. Prints a debugging message with a variable if the first parameter is true. At the end, the line is wrapped.
- Parameters
-
| doit | The line is only printed if true. |
| msg | Some text |
| var | A variable |
Definition at line 42 of file debug.hh.
◆ NDEBUG