streambuf::allocate

Protected

int allocate();

END Protected

Return Value

Calls the virtual function doallocate to set up a reserve area. If a reserve area already exists or if the streambuf object is unbuffered, allocate returns 0. If the space allocation fails, allocate returns EOF.

streambuf OverviewStream Buffer Classes

See Also   streambuf::doallocate, streambuf::unbuffered