Create an unordered set from the specified iterator range.
Declared in <bslstl_unorderedset.h>
template<class INPUT_ITERATOR>
unordered_set(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
size_type initialNumBuckets,
ALLOCATOR const& basicAllocator);
Same as the preceding overload, using the specified allocator.
| 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 |