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

Name

Description

first

the start of the iterator range

last

one past the end of the iterator range

initialNumBuckets

the initial number of buckets

basicAllocator

the allocator used to supply memory

Created with MrDocs