ostream
Objects of class ostream
inherit the generic methods from
ios
, and in addition have the following methods available.
Declarations for this class come from `iostream.h'.
ostream
simply
allocates a new ios
object.
streambuf*
, to use an existing open stream for output. It also
accepts an optional second argument tie, to specify a related
ostream*
as the initial value for ios::tie
.
If you give the ostream
a streambuf
explicitly, using
this constructor, the sb is not destroyed (or deleted or
closed) when the ostream
is destroyed.
Go to the first, previous, next, last section, table of contents.