Protected:
virtual int doallocate();
Called by allocate when space is needed. The doallocate function must allocate a reserve area, then call setb to attach the reserve area to the streambuf object. If the reserve area allocation fails, doallocate returns EOF.
Attempts to allocate a reserve area using operator new.