Constructors
Declared in <bslstp_hashtable.h>
Copy-construct a hash table from the specified source table.
hashtable(_Self const& original);
» more...
Copy-construct a hash table using the specified allocator.
hashtable(
_Self const& __ht,
allocator_type const& __a);
» more...
Create a hash table with the specified hasher, equality predicate, and allocator.
hashtable(
size_type __n,
_HF const& __hf,
_EqK const& __eql,
allocator_type const& __a = allocator_type());
» more...
Create a hash table with the specified functors and allocator.
hashtable(
size_type __n,
_HF const& __hf,
_EqK const& __eql,
_ExK const& __ext,
allocator_type const& __a = allocator_type());
» more...
| Name | Description |
|---|---|
| original | hash table whose value is copied |
| __ht | hash table whose value is copied |
| __a | allocator used to supply memory |
| __n | minimum number of buckets to create |
| __hf | hash functor |
| __eql | key-equality predicate |
| __ext | key-extraction functor |