29
Input/output library
[input.output]
29.6
Stream buffers
[stream.buffers]
29.6.3
Class template
basic_streambuf
[streambuf]
29.6.3.3
Protected member functions
[streambuf.protected]
29.6.3.3.1
Assignment
[streambuf.assign]
🔗
basic_streambuf
&
operator
=
(
const
basic_streambuf
&
rhs
)
;
1
#
Postconditions:
(1.1)
eback
(
)
=
=
rhs
.
eback
(
)
(1.2)
gptr
(
)
=
=
rhs
.
gptr
(
)
(1.3)
egptr
(
)
=
=
rhs
.
egptr
(
)
(1.4)
pbase
(
)
=
=
rhs
.
pbase
(
)
(1.5)
pptr
(
)
=
=
rhs
.
pptr
(
)
(1.6)
epptr
(
)
=
=
rhs
.
epptr
(
)
(1.7)
getloc
(
)
=
=
rhs
.
getloc
(
)
2
#
Returns:
*
this
.
🔗
void
swap
(
basic_streambuf
&
rhs
)
;
3
#
Effects:
Swaps the data members of
rhs
and
*
this
.