Create a hash set with the specified bucket count, hasher, and allocator.

Synopsis

Declared in <bslstp_hashset.h>

hash_set(
    size_type __n,
    hasher const& __hf,
    allocator_type const& __a);

Parameters

Name

Description

__n

minimum number of buckets to create

__hf

hash functor

__a

allocator used to supply memory

Created with MrDocs