bsl::unordered_set::unordered_set

Create an unordered set from the specified range.

Synopsis

Declared in <bslstl_unorderedset.h>

template<class RANGE>
unordered_set(
    std::from_range_t tag,
    RANGE&& range,
    size_type initialNumBuckets,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload, using the specified allocator.

Parameters

NameDescription
tagdisambiguation tag for the range constructor
rangerange of values to insert
initialNumBucketsinitial number of buckets
basicAllocatorallocator used to supply memory