[#bsl-StringBufContainer-2constructor-0cc]
= xref:bsl.adoc[bsl]::xref:bsl/StringBufContainer.adoc[StringBufContainer]::StringBufContainer
:relfileprefix: ../../
:mrdocs:

Create a `StringBufContainer` by move&hyphen;constructing from `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StringBufContainer(
    xref:bsl/StringBufContainer.adoc[StringBufContainer]&& original,
    ALLOCATOR const& allocator);
----

== Description

Create a `StringBufContainer` object using the specified `allocator` to supply memory and having the same value as the specified `original` object by moving the contents of `original` to the newly&hyphen;created object&period; `original` is left in a valid but unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| object from which to move&hyphen;construct
| *allocator*
| allocator used to supply memory
|===


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