[#bsl-basic_stringbuf-pbackfail-07] = xref:bsl.adoc[bsl]::xref:bsl/basic_stringbuf.adoc[basic_stringbuf]::pbackfail :relfileprefix: ../../ :mrdocs: `pbackfail` overloads == Synopses Declared in `<bslstl_stringbuf.h>` Tries to back up the input sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual int_type xref:bsl/basic_stringbuf/pbackfail-0d.adoc[pbackfail](int_type __c = traits_type::eof()); ---- [.small]#xref:bsl/basic_stringbuf/pbackfail-0d.adoc[_» more..._]# Put back a character into the input sequence. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- virtual xref:bsl/basic_stringbuf/int_type.adoc[basic_stringbuf<CHAR_TYPE, CHAR_TRAITS, ALLOCATOR>::int_type] xref:bsl/basic_stringbuf/pbackfail-05.adoc[pbackfail](xref:bsl/basic_stringbuf/int_type.adoc[int_type] character = traits_type::eof()); ---- [.small]#xref:bsl/basic_stringbuf/pbackfail-05.adoc[_» more..._]# == Return Value * eof() on failure, _some other value_ on success * the character put back, or `traits_type::eof()` on failure == Parameters [cols="1,4"] |=== | 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().` [.small]#Created with https://www.mrdocs.com[MrDocs]#