[#bsl-basic_istringstream-get-0c]
= xref:bsl.adoc[bsl]::xref:bsl/basic_istringstream.adoc[basic&lowbar;istringstream]::get
:relfileprefix: ../../
:mrdocs:

`get` overloads

== Synopses

Declared in `&lt;bslstl&lowbar;istringstream&period;h&gt;`

Simple extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int&lowbar;type
xref:bsl/basic_istringstream/get-05b.adoc[get]();
----

[.small]#xref:bsl/basic_istringstream/get-05b.adoc[_» more&period;&period;&period;_]#

Extraction into another streambuf&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/get-0e.adoc[get](&lowbar;&lowbar;streambuf&lowbar;type& &lowbar;&lowbar;sb);
----

[.small]#xref:bsl/basic_istringstream/get-0e.adoc[_» more&period;&period;&period;_]#

Simple extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/get-03.adoc[get](char&lowbar;type& &lowbar;&lowbar;c);
----

[.small]#xref:bsl/basic_istringstream/get-03.adoc[_» more&period;&period;&period;_]#

Extraction into another streambuf&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/get-051.adoc[get](
    &lowbar;&lowbar;streambuf&lowbar;type& &lowbar;&lowbar;sb,
    char&lowbar;type &lowbar;&lowbar;delim);
----

[.small]#xref:bsl/basic_istringstream/get-051.adoc[_» more&period;&period;&period;_]#

Simple multiple&hyphen;character extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/get-01.adoc[get](
    char&lowbar;type* &lowbar;&lowbar;s,
    streamsize &lowbar;&lowbar;n);
----

[.small]#xref:bsl/basic_istringstream/get-01.adoc[_» more&period;&period;&period;_]#

Simple multiple&hyphen;character extraction&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lowbar;&lowbar;istream&lowbar;type&
xref:bsl/basic_istringstream/get-00.adoc[get](
    char&lowbar;type* &lowbar;&lowbar;s,
    streamsize &lowbar;&lowbar;n,
    char&lowbar;type &lowbar;&lowbar;delim);
----

[.small]#xref:bsl/basic_istringstream/get-00.adoc[_» more&period;&period;&period;_]#

== Return Value

* A character, or eof()&period;
* &ast;this

== Parameters

[cols="1,4"]
|===
| Name| Description
| *&lowbar;&lowbar;sb*
| A streambuf in which to store data&period;
| *&lowbar;&lowbar;c*
| The character in which to store data&period;
| *&lowbar;&lowbar;delim*
| A &quot;stop&quot; character&period;
| *&lowbar;&lowbar;s*
| Pointer to an array&period;
| *&lowbar;&lowbar;n*
| Maximum number of characters to store in _s&period;_
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
