Constructors

Synopses

Declared in <bslstp_hashtable.h>

Copy‐construct a hash table from the specified source table.

hashtable(_Self const& __ht);

Copy‐construct a hash table using the specified allocator.

hashtable(
    _Self const& __ht,
    allocator_type const& __a);

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());

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());

Created with MrDocs