[#bsl-basic_stringstream-str-05]
= xref:bsl.adoc[bsl]::xref:bsl/basic_stringstream.adoc[basic&lowbar;stringstream]::str
:relfileprefix: ../../
:mrdocs:

Return the internally buffered sequence of characters maintained by this stream, leaving the stream empty&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/basic_stringstream.adoc[StringType]
str() &amp;&amp;;
----


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