[#bsl-basic_stringstream-2constructor-078]
= xref:bsl.adoc[bsl]::xref:bsl/basic_stringstream.adoc[basic&lowbar;stringstream]::basic&lowbar;stringstream
:relfileprefix: ../../
:mrdocs:

Create a `basic&lowbar;stringstream` by moving from `initialString`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
basic&lowbar;stringstream(
    xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;StringType&gt;] initialString,
    xref:bsl/basic_stringstream/allocator_type.adoc[allocator&lowbar;type] const& allocator);
----

== Description

Same as the constructor taking `MovableRef&lt;StringType&gt;`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *initialString*
| initial character sequence (moved from)
| *allocator*
| allocator used to supply memory
|===


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