absl::InlinedVector::resize

Resizes the inlined vector to contain n elements.

Synopsis

Declared in <absl/container/inlined_vector.h>

void
resize(size_type n);

Description

NOTE: If n is smaller than size(), extra elements are destroyed. If n is larger than size(), new elements are value-initialized.

Parameters

NameDescription
nThe new number of elements.