31
Input/output library
[input.output]
31.6
Stream buffers
[stream.buffers]
31.6.3
Class template
basic_
streambuf
[streambuf]
31.6.3.2
Constructors
[streambuf.cons]
🔗
basic_streambuf
(
)
;
1
#
Effects
: Initializes:
276
(1.1)
all pointer member objects to null pointers,
(1.2)
the
getloc
(
)
member to a copy of the global locale,
locale
(
)
, at the time of construction
.
2
#
Remarks
: Once the
getloc
(
)
member is initialized, results of calling locale member functions, and of members of facets so obtained, can safely be cached until the next time the member
imbue
is called
.
🔗
basic_streambuf
(
const
basic_streambuf
&
rhs
)
;
3
#
Postconditions
:
(3.1)
eback
(
)
=
=
rhs
.
eback
(
)
(3.2)
gptr
(
)
=
=
rhs
.
gptr
(
)
(3.3)
egptr
(
)
=
=
rhs
.
egptr
(
)
(3.4)
pbase
(
)
=
=
rhs
.
pbase
(
)
(3.5)
pptr
(
)
=
=
rhs
.
pptr
(
)
(3.6)
epptr
(
)
=
=
rhs
.
epptr
(
)
(3.7)
getloc
(
)
=
=
rhs
.
getloc
(
)
🔗
~
basic_streambuf
(
)
;
4
#
Effects
: None
.
276)
276)
The default constructor is protected for class
basic_
streambuf
to assure that only objects for classes derived from this class can be constructed
.