[#bsl-multiset-03-2constructor-041]
= xref:bsl.adoc[bsl]::xref:bsl/multiset-03.adoc[multiset]::multiset
:relfileprefix: ../../
:mrdocs:

Create a multiset by moving from `original`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
multiset(xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef&lt;multiset&gt;] original);
----

== Description

Create a multiset having the same value as that of the specified `original` object by moving (in constant time) the contents of `original` to the new multiset&period; Use a copy of `original&period;key&lowbar;comp()` to order the keys contained in this multiset&period; The allocator associated with `original` is propagated for use in the newly&hyphen;created multiset&period; `original` is left in a valid but unspecified state&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| multiset to move from
|===


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