[#bsl-hash_multimap-2constructor-086]
= xref:bsl.adoc[bsl]::xref:bsl/hash_multimap.adoc[hash&lowbar;multimap]::hash&lowbar;multimap
:relfileprefix: ../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bslstp&lowbar;hashmap&period;h&gt;`

Create an empty hash multimap&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-0d0.adoc[hash&lowbar;multimap]();
----

[.small]#xref:bsl/hash_multimap/2constructor-0d0.adoc[_» more&period;&period;&period;_]#

Create an empty hash multimap with at least the specified `&lowbar;&lowbar;n` buckets&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:bsl/hash_multimap/2constructor-0a.adoc[hash&lowbar;multimap](xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n);
----

[.small]#xref:bsl/hash_multimap/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create an empty hash multimap using the specified `&lowbar;&lowbar;a` allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:bsl/hash_multimap/2constructor-0e.adoc[hash&lowbar;multimap](xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-0e.adoc[_» more&period;&period;&period;_]#

Create a hash multimap with the specified bucket count and allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-0fd.adoc[hash&lowbar;multimap](
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-0fd.adoc[_» more&period;&period;&period;_]#

Create a hash multimap with the specified bucket count and hasher&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-0df.adoc[hash&lowbar;multimap](
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf);
----

[.small]#xref:bsl/hash_multimap/2constructor-0df.adoc[_» more&period;&period;&period;_]#

Copy&hyphen;construct a hash multimap using the specified allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-064.adoc[hash&lowbar;multimap](
    xref:bsl/hash_multimap.adoc[&lowbar;Self] const& &lowbar;&lowbar;x,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-064.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-053.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l);
----

[.small]#xref:bsl/hash_multimap/2constructor-053.adoc[_» more&period;&period;&period;_]#

Create a hash multimap with the specified bucket count, hasher, and allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-03.adoc[hash&lowbar;multimap](
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-03.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-02.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n);
----

[.small]#xref:bsl/hash_multimap/2constructor-02.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-068.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-068.adoc[_» more&period;&period;&period;_]#

Create a hash multimap with the specified bucket count, functors, and allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:bsl/hash_multimap/2constructor-0b.adoc[hash&lowbar;multimap](
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf,
    xref:bsl/hash_multimap/key_equal.adoc[key&lowbar;equal] const& &lowbar;&lowbar;eql,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a = allocator&lowbar;type());
----

[.small]#xref:bsl/hash_multimap/2constructor-0b.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-01.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-01.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-082.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf);
----

[.small]#xref:bsl/hash_multimap/2constructor-082.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-05e.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a);
----

[.small]#xref:bsl/hash_multimap/2constructor-05e.adoc[_» more&period;&period;&period;_]#

Create a hash multimap from the specified iterator range&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
xref:bsl/hash_multimap/2constructor-0f8.adoc[hash&lowbar;multimap](
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_multimap/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_multimap/hasher.adoc[hasher] const& &lowbar;&lowbar;hf,
    xref:bsl/hash_multimap/key_equal.adoc[key&lowbar;equal] const& &lowbar;&lowbar;eql,
    xref:bsl/hash_multimap/allocator_type.adoc[allocator&lowbar;type] const& &lowbar;&lowbar;a = allocator&lowbar;type());
----

[.small]#xref:bsl/hash_multimap/2constructor-0f8.adoc[_» more&period;&period;&period;_]#


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