¡@

Home 

c++ Programming Glossary: nullstream

conditional debug output class with templated operator<<

http://stackoverflow.com/questions/3662654/conditional-debug-output-class-with-templated-operator

bool m_output #else release mode compile #define Debug nullstream #endif DEBUG I think a nullstream kind of thing would be best.. compile #define Debug nullstream #endif DEBUG I think a nullstream kind of thing would be best for the release mode define class.. of thing would be best for the release mode define class nullstream template typename T nullstream operator nullstream ns T return..