Pushing characters back into the input stream.
Synopsis
Declared in <bslstl_stringbuf.h>
int_type
sputbackc(char_type __c);
Description
Similar to sungetc(), but __c is pushed onto the stream instead of the previous character. If successful, the next character fetched from the input stream will be __c.
Return Value
The previous character, if possible.
Parameters
Name |
Description |
__c |
The character to push back. |
Created with MrDocs