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

Create a multiset having the same value as `original`&period;

== Synopsis

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

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

== Description

Use a copy of `original&period;key&lowbar;comp()` to order the keys contained in this multiset&period; Use the allocator returned by &apos;bsl&colon;&colon;allocator&lowbar;traits&lt;ALLOCATOR&gt;&colon;&colon; select&lowbar;on&lowbar;container&lowbar;copy&lowbar;construction(original&period;get&lowbar;allocator())&apos; to allocate memory&period; This method requires that the (template parameter) type `KEY` be `copy&hyphen;insertable` into this multiset (see &lcub;Requirements on `KEY`&rcub;)&period;

== Parameters

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


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