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

Reset this stream&apos;s buffered character sequence to `value`&period;

== Synopsis

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

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

== Description

Reset the internally buffered sequence of characters maintained by this stream to the specified `value`&period; If `value` is passed by `MovableRef`, it is left in a valid but unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| new character sequence for the stream buffer
|===


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