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

Name

Description

n

The number of copies to assign.

v

The value to copy into each element.

Created with MrDocs