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;