absl::InlinedVector::operator=

Assignment operators

Synopses

Declared in <absl/container/inlined_vector.h>

Overload of InlinedVector::operator=(...) that replaces the elements of the inlined vector with copies of the elements of other.

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

Overload of InlinedVector::operator=(...) that moves the elements of other into the inlined vector.

InlinedVector&
operator=(InlinedVector&& other);
» more...

Replaces the elements of the inlined vector with copies of the elements of list.

InlinedVector&
operator=(std::initializer_list<value_type> list);
» more...

Return Value

A reference to the inlined vector.

Parameters

NameDescription
otherThe inlined vector to copy.
listThe initializer list to copy elements from.