lib/mystring/trace.h
changeset 0 6f7a81934006
child 2 b3afb9f1e801
equal deleted inserted replaced
-1:000000000000 0:6f7a81934006
       
     1 #include "mystring.h"
       
     2 
       
     3 #ifdef MYSTRING_TRACE
       
     4 ostream& operator<<(ostream& out, const mystringtmp& s);
       
     5 #define trace(X) cerr << (void*)this << "->" << __PRETTY_FUNCTION__ << X << endl
       
     6 #define trace_static(X) cerr << __PRETTY_FUNCTION__ << X << endl
       
     7 #else
       
     8 #define trace(X) do { } while(0)
       
     9 #define trace_static(X) do { } while(0)
       
    10 #endif