Effects:
Constructs an object of class
basic_stringbuf,
initializing the base class with
basic_streambuf() ([streambuf.cons]), and initializing
mode
with which.
Effects:
Constructs an object of class
basic_stringbuf,
initializing the base class with
basic_streambuf() ([streambuf.cons]), and initializing
mode
with which.
It
is
implementation-defined whether the sequence pointers in *this
(eback(), gptr(), egptr(),
pbase(), pptr(), epptr()) obtain
the values which rhs had.
Whether they do or not, *this
and rhs reference separate buffers (if any at all) after the
construction.
The openmode, locale and any other state of rhs is
also copied.