Assignment operators

Synopses

Declared in <bslstl_set.h>

Assign to this object the value and comparator of rhs.

Move‐assign to this object the value and comparator of rhs.

Assign to this object the contents of the values initializer list.

set<KEY, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<KEY> values);

Return Value

reference providing modifiable access to this set

Parameters

Name

Description

rhs

set whose value is assigned

values

initializer list of keys to assign

Created with MrDocs