pbackfail overloads

Synopses

Declared in <bslstl_stringbuf.h>

Tries to back up the input sequence.

virtual
int_type
pbackfail(int_type __c = traits_type::eof());

Put back a character into the input sequence.

Return Value

  • eof() on failure, some other value on success

  • the character put back, or traits_type::eof() on failure

Parameters

Name

Description

__c

The character to be inserted back into the sequence.

character

character to put back, or traits_type::eof()

Postconditions

  • The constraints of gptr(), eback(), and pptr() are the same as for underflow().

Created with MrDocs