Flush stream and emit from a backing basic_syncbuf if present.
Synopsis
Declared in <bslstl_ostream.h>
template<
class CHAR,
class TRAITS>
basic_ostream<CHAR, TRAITS>&
flush_emit(basic_ostream<CHAR, TRAITS>& stream);
Description
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.
Return Value
a reference to stream
Parameters
Name |
Description |
stream |
output stream that may wrap a |
Created with MrDocs