Copyright (C) 2000-2012 |
GNU Info (iostream-295.info)OstreamManaging output streams: class `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'. - Constructor: ostream::ostream () The simplest form of the constructor for an `ostream' simply allocates a new `ios' object. - Constructor: ostream::ostream (streambuf* SB [, ostream TIE]) This alternative constructor requires a first argument SB of type `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.
automatically generated by info2www version 1.2.2.9 |