bsl::set::insert_range

Insert each unique value from the specified range.

Synopsis

Declared in <bslstl_set.h>

template<class RANGE>
void
insert_range(RANGE&& range);

Description

The (template parameter) type RANGE must meet the requirements the C++20 standard [ranges]providing access to values of a type convertible to value_type, and value_type must be emplace-constructible from *i into this map, where i is a dereferenceable iterator obtained from range (see {Requirements on KEY}). The behavior is undefined if range overlaps this set.

Parameters

NameDescription
rangerange of values to insert