Annex D (normative)
Compatibility features
[depr]
D.6
char*
streams
[depr.str.strstreams]
D.6.1
Class
strstreambuf
[depr.strstreambuf]
D.6.1.2
Member functions
[depr.strstreambuf.members]
void freeze(bool freezefl = true);
1
#
Effects:
If
strmode & dynamic
is nonzero, alters the freeze status of the dynamic array object as follows:
(1.1)
If
freezefl
is
true
, the function sets
frozen
in
strmode
.
(1.2)
Otherwise, it clears
frozen
in
strmode
.
char* str();
2
#
Effects:
Calls
freeze()
, then returns the beginning pointer for the input sequence,
gbeg
.
3
#
Remarks:
The return value can be a null pointer
.
int pcount() const;
4
#
Effects:
If the next pointer for the output sequence,
pnext
, is a null pointer, returns zero
.
Otherwise, returns the current effective length of the array object as the next pointer minus the beginning pointer for the output sequence,
pnext - pbeg
.