bsl::flush_emit

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.

Synopsis

Declared in <bslstl_ostream.h>

template<
    class CHAR,
    class TRAITS>
basic_ostream<CHAR, TRAITS>&
flush_emit(basic_ostream<CHAR, TRAITS>& stream);