std::emit_on_flush, std::noemit_on_flush

Header: <ostream>

If os.rdbuf() actually points to a std::basic_syncbuf<CharT, Traits, Allocator> buf, toggles whether it emits (i.e., transmits data to the underlying stream buffer) when flushed:

# Declarations

template< class CharT, class Traits >
std::basic_ostream<CharT, Traits>& emit_on_flush( std::basic_ostream<CharT, Traits>& os );

(since C++20)

template< class CharT, class Traits >
std::basic_ostream<CharT, Traits>& noemit_on_flush( std::basic_ostream<CharT, Traits>& os );

(since C++20)

# Parameters

# Return value

os (reference to the stream after manipulation)

# Example

This section is incompleteReason: no example

# See also