streambuf::pbackfail

virtual int pbackfail( int nCh );

Return Value

The nCh parameter if successful; otherwise EOF.

Parameter

nCh

The character used in a previous sputbackc call.

Remarks

This function is called by sputbackc if it fails, usually because the eback pointer equals the gptr pointer. The pbackfail function should deal with the situation, if possible, by such means as repositioning the external file pointer.

Default implementation

Returns EOF.

streambuf OverviewStream Buffer Classes

See Also   streambuf::sputbackc