[#bsl-unordered_multimap-0b0-2constructor-0b3]
= xref:bsl.adoc[bsl]::xref:bsl/unordered_multimap-0b0.adoc[unordered&lowbar;multimap]::unordered&lowbar;multimap
:relfileprefix: ../../
:mrdocs:

Create an unordered multimap, and insert each `value&lowbar;type` object in the specified `range`&period; Optionally specify an `initialNumBuckets` indicating the initial size of the array of buckets of this container&period; If `initialNumBuckets` is not supplied, an implementation&hyphen;defined value is used&period; Optionally specify a `hashFunction` used to generate the hash values for each key value contained in this unordered multimap&period; If `hashFunction` is not supplied, a default&hyphen;constructed object of the (template parameter) type `HASH` is used&period; Optionally specify a key&hyphen;equality functor `keyEqual` used to determine whether two keys have the same value&period; If `keyEqual` is not supplied, a default&hyphen;constructed object of the (template parameter) type `EQUAL` is used&period; Optionally specify a `basicAllocator` used to supply memory&period; If `basicAllocator` is not supplied, a default&hyphen;constructed object of the (template parameter) type `ALLOCATOR` is used&period; If the type `ALLOCATOR` is `bsl&colon;&colon;allocator` (the default), then `basicAllocator`, if supplied, shall be convertible to `bslma&colon;&colon;Allocator &ast;`&period; If the type `ALLOCATOR` is `bsl&colon;&colon;allocator` and `basicAllocator` is not supplied, the currently installed default allocator is used&period; This operation has `O&lsqb;N&rsqb;` complexity, where `N` is the number of elements in `range`&period; Note that `RANGE` must meet the requirements of an input range and the values from `range` must have a type matching or convertible to `value&lowbar;type`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class RANGE&gt;
unordered&lowbar;multimap(
    std::from&lowbar;range&lowbar;t,
    RANGE&& range,
    xref:bsl/unordered_multimap-0b0/size_type.adoc[size&lowbar;type] initialNumBuckets = 0,
    HASH const& hashFunction = HASH(),
    EQUAL const& keyEqual = EQUAL(),
    ALLOCATOR const& basicAllocator = ALLOCATOR());
----


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