ostream_withassign::ostream_withassign

Syntax

ostream_withassign( streambuf* psb );

ostream_withassign();

Parameters

psb

A pointer to an existing object of a streambuf-derived class.

Remarks

The first constructor makes a ready-to-use object of type ostream_withassign, complete with an attached streambuf object.

The second constructor makes an object but does not initialize it. You must subsequently use the streambuf assignment operator to attach the streambuf object, or you must use the ostream assignment operator to initialize this object to match the specified object.

See Also

ostream_withassign::operator =