ios::delbuf

Syntax

void delbuf( int nDelFlag );

int delbuf() const;

Parameters

nDelFlag

A nonzero value indicates that ~ios should delete the stream's attached streambuf object. A 0 value prevents deletion.

Remarks

The first overloaded delbuf function assigns a value to the stream's buffer-deletion flag.

The second function returns the current value of the flag.

This function is public only because it is accessed by the Iostream_init class. Treat it as protected.

See Also

ios::rdbuf, ios::~ios