template <typename StreamBuf>
class formatbuf
Defined at line 292 of file ../../third_party/fmtlib/src/include/fmt/chrono.h
It is defined here and not in ostream.h because the latter has expensive
includes.
Public Methods
void formatbuf<StreamBuf> (buffer<char_type> & buf)
Defined at line 302 of file ../../third_party/fmtlib/src/include/fmt/chrono.h
Protected Methods
int_type overflow (int_type ch)
The put area is always empty. This makes the implementation simpler and has
the advantage that the streambuf and the buffer are always in sync and
sputc never writes into uninitialized memory. A disadvantage is that each
call to sputc always results in a (virtual) call to overflow. There is no
disadvantage here for sputn since this always results in a call to xsputn.
Defined at line 311 of file ../../third_party/fmtlib/src/include/fmt/chrono.h
streamsize xsputn (const char_type * s, streamsize count)
Defined at line 317 of file ../../third_party/fmtlib/src/include/fmt/chrono.h