[#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 `<bdlc_hashtable.h>` Create a double‐hash table with the specified capacity hint. [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..._]# Create a double‐hash table with custom hash functors. [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..._]# == 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]#