[#bsl-multimap-0ae-2constructor-0c]
= xref:bsl.adoc[bsl]::xref:bsl/multimap-0ae.adoc[multimap]::multimap
:relfileprefix: ../../
:mrdocs:

Create a multimap with the value of `original` using `basicAllocator`&period;

== Synopsis

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

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

== Description

Create a multimap having the same value as the specified `original` object that uses the specified `basicAllocator` to supply memory&period; Use a copy of `original&period;key&lowbar;comp()` to order the key&hyphen;value pairs contained in this multimap&period; This method requires that the (template parameter) types `KEY` and `VALUE` both be `copy&hyphen;insertable` into this multimap (see &lcub;Requirements on `KEY` and `VALUE`&rcub;)&period; Note that a `bslma&colon;&colon;Allocator &ast;` can be supplied for `basicAllocator` if the (template parameter) `ALLOCATOR` is `bsl&colon;&colon;allocator` (the default)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| multimap to copy
| *basicAllocator*
| allocator used to supply memory
|===


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