Rinnegan77's blog

By Rinnegan77, history, 4 years ago, In English

***************************************************************************************** void DBG() { cerr << "]" << endl; } template<class H, class... T> void DBG(H h, T... t) { cerr << to_string(h); if (sizeof...(t)) cerr << ", "; DBG(t...); }

ifdef _DEBUG

define dbg(...) cerr << "LINE(" << LINE << ") -> [" << #__VA_ARGS__ << "]: [", DBG(__VA_ARGS__)

else

define dbg(...) 0

endif


  • Vote: I like it
  • -17
  • Vote: I do not like it

»
4 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Please format the code properly by clicking the <> button -> Block formatting.

»
4 years ago, # |
  Vote: I like it +4 Vote: I do not like it