29
Input/output library
[input.output]
29.6
Stream buffers
[stream.buffers]
29.6.3
Class template
basic_streambuf
[streambuf]
29.6.3.1
Constructors
[streambuf.cons]
🔗
basic_streambuf
(
)
;
1
#
Effects:
Initializes:
295
(1.1)
all pointer member objects to null pointers,
(1.2)
the
getloc
(
)
member to a copy 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
.
295)
The default constructor is protected for class
basic_streambuf
to assure that only objects for classes derived from this class may be constructed
.
⮥