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.

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

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

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

Return Value

A reference to the inlined vector.

Parameters

Name

Description

other

The inlined vector to copy.

list

The initializer list to copy elements from.

Created with MrDocs