[#bsl-basic_istringstream-unget] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::unget :relfileprefix: ../../ :mrdocs: Unextracting the previous character. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& unget(); ---- == Description If `rdbuf()` is not null, calls `rdbuf()‐>sungetc(c).` If `rdbuf()` is null or if `sungetc()` 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 [.small]#Created with https://www.mrdocs.com[MrDocs]#