debug.hh File Reference
#include <iostream>
#include <cassert>
#include <iomanip>
#include <cstring>
Go to the source code of this file.
Macros | |
#define | DEBUGL(doit, msg) |
#define | DP(doit, msg, var) |
#define | DPL(doit, msg, var) |
#define | NDEBUG |
Detailed Description
Debugging Header File
Definition in file debug.hh.
Macro Definition Documentation
◆ 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
◆ 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