- Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdebug.cpp
More file actions
Latest commit
16 lines (13 loc) · 316 Bytes
/
Copy pathdebug.cpp
File metadata and controls
16 lines (13 loc) · 316 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Debug Section /*{{{
voidLog_Gen() { cerr << endl; }
template <typenameHEAD, typename... TAIL>
voidLog_Gen(HEAD H, TAIL... T) {
cerr << "" << (H);
Log_Gen(T...);
}
#ifdef HELL_JUDGE
#definedebug(...) cerr << "[" << #__VA_ARGS__ << "]:", Log_Gen(__VA_ARGS__)
#else
#definedebug(...) 0
#endif
/* }}} */