absl::InlinedVector::assign

Replaces the contents of the inlined vector with n copies of v.

Synopsis

Declared in <absl/container/inlined_vector.h>

void
assign(
    size_type n,
    const_reference v);

Parameters

NameDescription
nThe number of copies to assign.
vThe value to copy into each element.