absl::linked_hash_set::operator=

Assignment operators

Synopses

Declared in <absl/container/linked_hash_set.h>

Copy assignment operator.

linked_hash_set&
operator=(linked_hash_set const& other);
» more...

Move assignment operator.

linked_hash_set&
operator=(linked_hash_set&& other) noexcept;
» more...

Replaces the contents with the elements from an initializer list.

linked_hash_set&
operator=(std::initializer_list<key_type> values);
» more...

Return Value

A reference to this set.

Parameters

NameDescription
otherThe set to copy from.
valuesThe initializer list of elements.