Assignment operators
Synopses
Declared in <bslstl_set.h>
Assign to this object the value and comparator of rhs.
set<KEY, COMPARATOR, ALLOCATOR>&
operator=(set const& rhs);
Move‐assign to this object the value and comparator of rhs.
set<KEY, COMPARATOR, ALLOCATOR>&
operator=(BloombergLP::bslmf::MovableRef<set> rhs) noexcept(/* see-below */);
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