Objects of the ostream_withassign class can be constructed and destructed. They can also be copied.
public:virtual ~ostream_withassign()
This is supported on

Destructs an ostream_withassign object.
public:ostream_withassign& operator =(ostream_withassign& rhs)
This is supported on

Copy constructor.
public:ostream_withassign()
This is supported on

Constructs an ostream_withassign object. It does not do any initialization on the object.
Assignment operators for ostream_withassign.
public:ostream_withassign& operator =(streambuf*)
This is supported on

This assignment operator takes a pointer to a streambuf object as its argument. It associates the streambuf with the ostream_withassign object that is on the left side of the assignment operator.
public:ostream_withassign& operator =(ostream&)
This is supported on

This assignment operator takes a reference to an ostream object as its argument. It associates the streambuf attached to the output stream with the ostream_withassign object that is on the left side of the assignment operator.