bsl::basic_syncbuf::pbackfail

Tries to back up the input sequence.

Synopsis

Declared in <bslstl_syncbuf.h>

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

Description

NOTE

Base class version does nothing, returns eof().

Return Value

eof() on failure, some other value on success

Parameters

NameDescription
__cThe character to be inserted back into the sequence.

Postconditions

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