[#absl-InlinedVector-operator_assign-0f] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::operator= :relfileprefix: ../../ :mrdocs: 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`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector.adoc[InlinedVector]& xref:absl/InlinedVector/operator_assign-0e8.adoc[operator=](xref:absl/InlinedVector.adoc[InlinedVector] const& other); ---- [.small]#xref:absl/InlinedVector/operator_assign-0e8.adoc[_» more..._]# Overload of `InlinedVector::operator=(...)` that moves the elements of `other` into the inlined vector. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector.adoc[InlinedVector]& xref:absl/InlinedVector/operator_assign-0e7.adoc[operator=](xref:absl/InlinedVector.adoc[InlinedVector]&& other); ---- [.small]#xref:absl/InlinedVector/operator_assign-0e7.adoc[_» more..._]# Replaces the elements of the inlined vector with copies of the elements of `list`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/InlinedVector.adoc[InlinedVector]& xref:absl/InlinedVector/operator_assign-0c.adoc[operator=](std::initializer_list<value_type> list); ---- [.small]#xref:absl/InlinedVector/operator_assign-0c.adoc[_» more..._]# == Return Value A reference to the inlined vector. == Parameters [cols="1,4"] |=== | Name| Description | *other* | The inlined vector to copy. | *list* | The initializer list to copy elements from. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#