Files
2025-10-25 03:02:53 +03:00

12 lines
1.9 KiB
Markdown
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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 <ostream> synopsis [ostream.syn]
[🔗](#header:%3costream%3e)
namespace std {// [[ostream]](ostream "31.7.6.2Class template basic_­ostream"), class template basic_ostreamtemplate<class charT, class traits = char_traits<charT>>class basic_ostream; using ostream = basic_ostream<char>; using wostream = basic_ostream<wchar_t>; // [[ostream.manip]](ostream.manip "31.7.6.5Standard basic_­ostream manipulators"), standard basic_ostream manipulatorstemplate<class charT, class traits> basic_ostream<charT, traits>& endl(basic_ostream<charT, traits>& os); template<class charT, class traits> basic_ostream<charT, traits>& ends(basic_ostream<charT, traits>& os); template<class charT, class traits> basic_ostream<charT, traits>& flush(basic_ostream<charT, traits>& os); template<class charT, class traits> basic_ostream<charT, traits>& emit_on_flush(basic_ostream<charT, traits>& os); template<class charT, class traits> basic_ostream<charT, traits>& noemit_on_flush(basic_ostream<charT, traits>& os); template<class charT, class traits> basic_ostream<charT, traits>& flush_emit(basic_ostream<charT, traits>& os); // [[ostream.rvalue]](ostream.rvalue "31.7.6.6Rvalue stream insertion"), rvalue stream insertiontemplate<class Ostream, class T> Ostream&& operator<<(Ostream&& os, const T& x); // [[ostream.formatted.print]](ostream.formatted.print "31.7.6.3.5Print"), print functionstemplate<class... Args>void print(ostream& os, format_string<Args...> fmt, Args&&... args); template<class... Args>void println(ostream& os, format_string<Args...> 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);}