Constructors
Synopses
Declared in <bdlc_hashtable.h>
Create a double‐hash table with the specified capacity hint.
explicit
HashTable(
bsls::Types::Int64 capacityHint,
bslma::Allocator* basicAllocator = 0);
Create a double‐hash table with custom hash functors.
HashTable(
bsls::Types::Int64 capacityHint,
HASH1 const& hashFunctor1,
HASH2 const& hashFunctor2,
bslma::Allocator* basicAllocator = 0);
Parameters
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 |
Created with MrDocs