Constructors
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);
» more...
Create a double-hash table with custom hash functors.
HashTable(
bsls::Types::Int64 capacityHint,
HASH1 const& hashFunctor1,
HASH2 const& hashFunctor2,
bslma::Allocator* basicAllocator = 0);
» more...
| 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 |