Overload of InlinedVector::resize(...) that resizes the inlined vector to contain n elements.

Synopsis

Declared in <absl/container/inlined_vector.h>

void
resize(
    size_type n,
    const_reference v);

Description

NOTE: if n is smaller than size(), extra elements are destroyed. If n is larger than size(), new elements are copied‐constructed from v.

Parameters

Name

Description

n

The new number of elements.

v

The value to copy into any new elements.

Created with MrDocs