1 2 3 4 5 6 7 8
| #ifdef XLor #define dbg(args...) do {cout << "debug -> "; err(args);} while (0) #else #define dbg(...) #endif void err() {std::cout << std::endl;} template<typename T, typename...Args> void err(T a, Args...args){std::cout << a << ' '; err(args...);}
|