Assignment operators
Declared in <bslstl_set.h>
Assign to this object the value and comparator of rhs.
set<KEY, COMPARATOR, ALLOCATOR>&
operator=(set const& rhs);
» more...
Move-assign to this object the value and comparator of rhs.
set<KEY, COMPARATOR, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<set> rhs) noexcept(/* see-below */);
» more...
Assign to this object the contents of the values initializer list.
set<KEY, COMPARATOR, ALLOCATOR>&
operator=(std::initializer_list<KEY> values);
» more...
reference providing modifiable access to this set
| Name | Description |
|---|---|
| rhs | set whose value is assigned |
| values | initializer list of keys to assign |