Create a hash table with the specified functors and allocator.

Synopsis

Declared in <bslstp_hashtable.h>

hashtable(
    size_type __n,
    _HF const& __hf,
    _EqK const& __eql,
    _ExK const& __ext,
    allocator_type const& __a = allocator_type());

Parameters

Name

Description

__n

minimum number of buckets to create

__hf

hash functor

__eql

key‐equality predicate

__ext

key‐extraction functor

__a

allocator used to supply memory

Created with MrDocs