27 Input/output library [input.output]

27.7 Formatting and manipulators [iostream.format]

27.7.3 Output streams [output.streams]

27.7.3.8 Standard basic_ostream manipulators [ostream.manip]

namespace std { template <class charT, class traits> basic_ostream<charT,traits>& endl(basic_ostream<charT,traits>& os); }

Effects: Calls os.put(os.widen('\n')), then os.flush().

Returns: os.

namespace std { template <class charT, class traits> basic_ostream<charT,traits>& ends(basic_ostream<charT,traits>& os); }

Effects: Inserts a null character into the output sequence: calls os.put(charT()).

Returns: os.

namespace std { template <class charT, class traits> basic_ostream<charT,traits>& flush(basic_ostream<charT,traits>& os); }

Effects: Calls os.flush().

Returns: os.