Looking ahead in the stream
Synopsis
Declared in <bslstl_istringstream.h>
int_type
peek();
Description
If, after constructing the sentry object, good() is false, returns traits::eof(). Otherwise reads but does not extract the next input character.
Return Value
The next character, or eof().
Created with MrDocs