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

Name

Description

tag

disambiguation tag for the range constructor

range

range of values to insert

initialNumBuckets

initial number of buckets

basicAllocator

allocator used to supply memory

Created with MrDocs