[#bsl-basic_istringstream-operator_rshift-080] = xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic_istringstream]::operator>> :relfileprefix: ../../ :mrdocs: Extracting into another streambuf. == Synopsis Declared in `<bslstl_istringstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- __istream_type& operator>>(__streambuf_type* __sb); ---- == Description This function behaves like one of the basic arithmetic extractors, in that it also constructs a sentry object and has the same error handling behavior. If `__sb` is NULL, the stream will set failbit in its error state. Characters are extracted from this stream and inserted into the `__sb` streambuf until one of the following occurs: * the input stream reaches end‐of‐file, * insertion into the output buffer fails (in this case, the character that would have been inserted is not extracted), or * an exception occurs (and in this case is caught) If the function inserts no characters, failbit is set. == Parameters [cols="1,4"] |=== | Name| Description | *__sb* | A pointer to a streambuf |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#