[#absl-InlinedVector-assign-094] = xref:absl.adoc[absl]::xref:absl/InlinedVector.adoc[InlinedVector]::assign :relfileprefix: ../../ :mrdocs: Replaces the contents of the inlined vector with `n` copies of `v`. == Synopsis Declared in `<absl/container/inlined_vector.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void assign( xref:absl/InlinedVector/size_type.adoc[size_type] n, xref:absl/InlinedVector/const_reference.adoc[const_reference] v); ---- == Parameters [cols="1,4"] |=== | Name| Description | *n* | The number of copies to assign. | *v* | The value to copy into each element. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#