Annex D (normative)
Compatibility features
[depr]
D.15
char*
streams
[depr.str.strstreams]
D.15.4
Class
ostrstream
[depr.ostrstream]
D.15.4.1
General
[depr.ostrstream.general]
🔗
namespace
std
{
class
ostrstream
:
public
basic_ostream
<
char
>
{
public
:
ostrstream
(
)
; ostrstream
(
char
*
s,
int
n, ios_base
::
openmode mode
=
ios_base
::
out
)
;
virtual
~
ostrstream
(
)
; strstreambuf
*
rdbuf
(
)
const
;
void
freeze
(
bool
freezefl
=
true
)
;
char
*
str
(
)
;
int
pcount
(
)
const
;
private
:
strstreambuf sb;
//
exposition only
}
;
}
1
#
The class
ostrstream
supports the writing of objects of class
strstreambuf
.
It supplies a
strstreambuf
object to control the associated array object
.
For the sake of exposition, the maintained data is presented here as:
(1.1)
sb
, the
strstreambuf
object
.