feat: add DEBUG output operator

This commit is contained in:
3lswear
2022-02-04 22:51:53 +03:00
parent 80cfe67d49
commit 509cd51ffd
2 changed files with 9 additions and 7 deletions

View File

@@ -49,4 +49,13 @@
#include <algorithm>
#include <cctype>
#ifdef DEBUG
#define DBOUT std::cerr << TURQ
#define ENDL RESET << std::endl
#else
#define DBOUT 0 && std::cerr
#define ENDL RESET << std::endl
#endif
#endif