Unextracting a single character.
Synopsis
Declared in <bslstl_istringstream.h>
__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 |
Return Value
*this
Parameters
Name |
Description |
__c |
The character to push back into the input stream. |
Created with MrDocs