bsl::unordered_set::unordered_set

Create an unordered set from the specified iterator range.

Synopsis

Declared in <bslstl_unorderedset.h>

template<class INPUT_ITERATOR>
unordered_set(
    INPUT_ITERATOR first,
    INPUT_ITERATOR last,
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload, using the specified allocator.

Parameters

NameDescription
firstthe start of the iterator range
lastone past the end of the iterator range
initialNumBucketsthe initial number of buckets
basicAllocatorthe allocator used to supply memory