#ifndef __ANTHEM__OUTPUT__NULL_STREAM_H #define __ANTHEM__OUTPUT__NULL_STREAM_H #include namespace anthem { namespace output { namespace detail { //////////////////////////////////////////////////////////////////////////////////////////////////// // // NullStream // //////////////////////////////////////////////////////////////////////////////////////////////////// class NullBuffer : public std::streambuf { public: int overflow(int c) { return c; } }; //////////////////////////////////////////////////////////////////////////////////////////////////// extern ColorStream nullStream; //////////////////////////////////////////////////////////////////////////////////////////////////// } } } #endif