std::basic_ostream::flush

From Cppreference

Jump to: navigation, search
basic_ostream< CharT, Traits > flush();

Writes uncommitted changes in the cache buffer to the underlying output device.

Contents

[edit] Parameters

(none)

[edit] Return value

*this

[edit] Example

[edit] See also

sync
synchronizes with the underlying storage device
(public member function of std::basic_istream)