absl::linked_hash_map::operator=

Assignment operators

Synopses

Declared in <absl/container/linked_hash_map.h>

Copy assignment operator.

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

Move assignment operator.

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

Assigns the contents of an initializer list to the map.

linked_hash_map&
operator=(std::initializer_list<value_type> values);
» more...

Return Value

A reference to this map.

Parameters

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