Syntax
Protected: int allocate();
Remarks
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.
See Also
streambuf::doallocate, streambuf::unbuffered