diff --git a/debug.hpp b/debug.hpp index 33974ea4..00b3d576 100644 --- a/debug.hpp +++ b/debug.hpp @@ -28,6 +28,11 @@ #include #include +#define trace { \ + std::cerr << __FILE__ << ":" << __func__ << ":" << __LINE__ << std::endl; \ +} + + #define verify_soft(C, COND) ({ \ const auto value = (C); \ check_soft(value COND); \