31
Input/output library
[input.output]
31.7
Formatting and manipulators
[iostream.format]
31.7.2
Header
<ostream>
synopsis
[ostream.syn]
🔗
namespace
std
{
//
[ostream]
, class template
basic_
ostream
template
<
class
charT,
class
traits
=
char_traits
<
charT
>
>
class
basic_ostream;
using
ostream
=
basic_ostream
<
char
>
;
using
wostream
=
basic_ostream
<
wchar_t
>
;
//
[ostream.
manip]
, standard
basic_
ostream
manipulators
template
<
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]
, rvalue stream insertion
template
<
class
Ostream,
class
T
>
Ostream
&
&
operator
<
<
(
Ostream
&
&
os,
const
T
&
x
)
;
//
[ostream.
formatted.
print]
, print functions
template
<
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
)
;
}