bsl::set::operator=

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);
» 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...

Return Value

reference providing modifiable access to this set

Parameters

NameDescription
rhsset whose value is assigned
valuesinitializer list of keys to assign