[#BloombergLP-bdlc-HashTable-2constructor-05]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/HashTable.adoc[HashTable]::HashTable
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlc&lowbar;hashtable&period;h&gt;`

Create a double&hyphen;hash table with the specified capacity hint&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:BloombergLP/bdlc/HashTable/2constructor-0c.adoc[HashTable](
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] capacityHint,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlc/HashTable/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Create a double&hyphen;hash table with custom hash functors&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlc/HashTable/2constructor-04.adoc[HashTable](
    xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] capacityHint,
    HASH1 const& hashFunctor1,
    HASH2 const& hashFunctor2,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bdlc/HashTable/2constructor-04.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *capacityHint*
| hint used to select the prime bucket capacity
| *basicAllocator*
| allocator used to supply memory
| *hashFunctor1*
| first hash functor
| *hashFunctor2*
| second hash functor
|===


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