Extraction into another streambuf.
Declared in <bslstl_istringstream.h>
__istream_type&
get(
__streambuf_type& __sb,
char_type __delim);
Characters are extracted and inserted into __sb until one of the following happens:
the input sequence reaches EOF
insertion into the output buffer fails (in this case, the character that would have been inserted is not extracted)
the next character equals __delim (in this case, the character is not extracted)
an exception occurs (and in this case is caught)
If no characters are stored, failbit is set in the stream's error state.
*this
| Name | Description |
|---|---|
| __sb | A streambuf in which to store data. |
| __delim | A "stop" character. |