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

Create an empty multimap using `comparator` and `basicAllocator`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
multimap(
    COMPARATOR const& comparator,
    ALLOCATOR const& basicAllocator = ALLOCATOR());
----

== Description

Create an empty multimap using the specified `comparator` to order key&hyphen;value pairs and the optionally specified `basicAllocator` to supply memory&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *comparator*
| functor used to order keys
| *basicAllocator*
| allocator used to supply memory
|===


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