Name
flush function template — Manipulator to flush output buffer
Synopsis
template <class charT, class traits>
basic_ostream<charT,traits>& flush(basic_ostream<charT,traits>& os);
The flush
function template
is a manipulator that calls os.flush
:
std::cout << "This is important!" << std::flush;
See Also
Get C++ In a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.