[#bsl-basic_istringstream-putback] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::putback :relfileprefix: ../../ :mrdocs: Unextracting a single character. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& putback(char_type __c); ---- == Description If `rdbuf()` is not null, calls `rdbuf()‐>sputbackc(c).` If `rdbuf()` is null or if `sputbackc()` fails, sets badbit in the error state. [NOTE] ==== This function first clears eofbit. Since no characters are extracted, the next call to `gcount()` will return 0, as required by DR 60. ==== == Return Value *this == Parameters [cols="1,4"] |=== | Name| Description | *__c* | The character to push back into the input stream. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#