[ostream.syn] # 31 Input/output library [[input.output]](./#input.output) ## 31.7 Formatting and manipulators [[iostream.format]](iostream.format#ostream.syn) ### 31.7.2 Header synopsis [ostream.syn] [🔗](#header:%3costream%3e) namespace std {// [[ostream]](ostream "31.7.6.2 Class template basic_­ostream"), class template basic_ostreamtemplate>class basic_ostream; using ostream = basic_ostream; using wostream = basic_ostream; // [[ostream.manip]](ostream.manip "31.7.6.5 Standard basic_­ostream manipulators"), standard basic_ostream manipulatorstemplate basic_ostream& endl(basic_ostream& os); template basic_ostream& ends(basic_ostream& os); template basic_ostream& flush(basic_ostream& os); template basic_ostream& emit_on_flush(basic_ostream& os); template basic_ostream& noemit_on_flush(basic_ostream& os); template basic_ostream& flush_emit(basic_ostream& os); // [[ostream.rvalue]](ostream.rvalue "31.7.6.6 Rvalue stream insertion"), rvalue stream insertiontemplate Ostream&& operator<<(Ostream&& os, const T& x); // [[ostream.formatted.print]](ostream.formatted.print "31.7.6.3.5 Print"), print functionstemplatevoid print(ostream& os, format_string fmt, Args&&... args); templatevoid println(ostream& os, format_string fmt, Args&&... args); void println(ostream& os); void vprint_unicode(ostream& os, string_view fmt, format_args args); void vprint_nonunicode(ostream& os, string_view fmt, format_args args);}