31
Input/output library
[input.output]
31.7
Formatting and manipulators
[iostream.format]
31.7.5
Input streams
[input.streams]
31.7.5.7
Class template
basic_
iostream
[iostreamclass]
31.7.5.7.2
Constructors
[iostream.cons]
🔗
explicit
basic_iostream
(
basic_streambuf
<
charT, traits
>
*
sb
)
;
1
#
Effects
: Initializes the base class subobjects with
basic_
istream
<
charT, traits
>
(
sb
)
(
[istream]
) and
basic_
ostream<charT, traits>(sb)
.
2
#
Postconditions
:
rdbuf
(
)
=
=
sb
and
gcount
(
)
=
=
0
.
🔗
basic_iostream
(
basic_iostream
&
&
rhs
)
;
3
#
Effects
: Move constructs from the rvalue
rhs
by constructing the
basic_
istream
base class with
std
::
move
(
rhs
)
.