¡@

Home 

c++ Programming Glossary: has_endl

Is this a good way to embed debugging message in my program? (Macros)

http://stackoverflow.com/questions/11480463/is-this-a-good-way-to-embed-debugging-message-in-my-program-macros

it adds one. struct dbglog std ostream os_ mutable bool has_endl_ dbglog std ostream os std cerr os_ os has_endl_ false ~dbglog.. bool has_endl_ dbglog std ostream os std cerr os_ os has_endl_ false ~dbglog if has_endl_ os_ std endl template typename T.. std ostream os std cerr os_ os has_endl_ false ~dbglog if has_endl_ os_ std endl template typename T static bool has_endl const..