streambuf::doallocate

Protected

virtual int doallocate();

END Protected

Return Value

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.

Remarks

By default, this function attempts to allocate a reserve area using operator new.

streambuf OverviewStream Buffer Classes

See Also   streambuf::allocate, streambuf::setb