streambuf::unbuffered

Syntax

Protected:
void unbuffered( int
nState );

Protected:
int unbuffered() const;

Parameters

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.

See Also

streambuf::allocate, streambuf::doallocate