E-MailRelay
|
A non-throwing wrapper for std::ostream, used by G::Log. More...
#include <glogstream.h>
Public Member Functions | |
LogStream (std::ostream *s) noexcept | |
Public Attributes | |
std::ostream * | m_ostream |
A non-throwing wrapper for std::ostream, used by G::Log.
This allows streaming to a G::Log instance to be inherently non-throwing without needing a try/catch block at every call site. The most common streaming operators are implemented out-of-line as a modest code size optimisation.
Definition at line 36 of file glogstream.h.
|
inlineexplicitnoexcept |
Definition at line 38 of file glogstream.h.
std::ostream* G::LogStream::m_ostream |
Definition at line 42 of file glogstream.h.