NullStream.hpp
A handy no-operation output stream.
Note
Status: BETA
Variables
-
static NullStream nout
No-operation drop-in replacement for std::cout.
-
class NullBuffer : public std::streambuf
- #include <NullStream.hpp>
A no-operation buffer class.
Public Functions
-
inline int overflow(int c)
-
inline int overflow(int c)
-
class NullStream : public std::ostream
- #include <NullStream.hpp>
A no-operation output stream class.
Public Functions
-
inline NullStream()
Private Members
-
NullBuffer m_sb = {}
-
inline NullStream()