Flush stream and emit from a backing basic_syncbuf if present.
Declared in <bslstl_ostream.h>
template<
class CHAR,
class TRAITS>
basic_ostream<CHAR, TRAITS>&
flush_emit(basic_ostream<CHAR, TRAITS>& stream);
Flush the specified stream as if by calling stream.flush(). Then, if stream.rdbuf() actually points to a basic_syncbuf<CHAR,TRAITS,ALLOCATOR> buf, call buf.emit(). Return stream.
a reference to stream
| Name | Description |
|---|---|
| stream | output stream that may wrap a basic_syncbuf |