bsl::unordered_set::insert

Insert each value from values if its key is missing.

Synopsis

Declared in <bslstl_unorderedset.h>

void
insert(std::initializer_list<KEY> values);

Description

Insert into this set the value of each value_type object in the specified values initializer list if a key equivalent to the object is not already contained in this set. This method requires that the (template parameter) type KEY be copy-insertable (see {Requirements on KEY}).

Parameters

NameDescription
valuesinitializer list of values