Create a hash set from the specified iterator range.

Synopsis

Declared in <bslstp_hashset.h>

template<class _InputIterator>
hash_set(
    _InputIterator __f,
    _InputIterator __l,
    size_type __n,
    hasher const& __hf,
    key_equal const& __eql,
    allocator_type const& __a = allocator_type());

Parameters

Name

Description

__f

beginning of the input range

__l

end of the input range

__n

minimum number of buckets to create

__hf

hash functor

__eql

key‐equality predicate

__a

allocator used to supply memory

Created with MrDocs