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.
virtual
basic_stringbuf<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>::int_type
pbackfail(int_type character = traits_type::eof());
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 |
Postconditions
-
The constraints of
gptr(),eback(),andpptr()are the same as forunderflow().
Created with MrDocs