bsl::emit_on_flush

If, for the specified stream, stream.rdbuf() is a basic_syncbuf<CHAR,TRAITS,ALLOCATOR>, make stream emit (i.e., transmit data to the wrapped stream buffer) when flushed, otherwise has no effect. Return stream.

Synopsis

Declared in <bslstl_ostream.h>

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