streambuf::unbuffered

Protected

void unbuffered( int nState );

int unbuffered() const;

END Protected

Parameter

nState

The value of the buffering state variable; 0 = buffered, nonzero = unbuffered.

Remarks

The first overloaded unbuffered function sets the value of the streambuf object’s buffering state. This variable’s primary purpose is to control whether the allocate function automatically allocates a reserve area.

The second function returns the current buffering state variable.

streambuf OverviewStream Buffer Classes

See Also   streambuf::allocate, streambuf::doallocate