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

Name

Description

n

The new number of elements.

Created with MrDocs