This topic has not yet been rated - Rate this topic

ios::init

Visual Studio 6.0

Protected —>

void init( streambuf* psb );

END Protected

Parameter

psb

A pointer to an existing streambuf object.

Remarks

Associates an object of a streambuf-derived class with this stream and, if necessary, deletes a dynamically created stream buffer object that was previously associated. The init function is useful in derived classes in conjunction with the protected default istream, ostream, and iostream constructors. Thus, an ios-derived class constructor can construct and attach its own predetermined stream buffer object.

ios OverviewAbstract Stream Base Class

See Also   istream::istream, ostream::ostream, iostream::iostream

Did you find this helpful?
(1500 characters remaining)