Set the length of this array to the specified numElements.

Synopsis

Declared in <bdlc_compactedarray.h>

void
resize(std::size_t numElements);

Description

If numElements > length(), the added elements are initialized to TYPE().

Parameters

Name

Description

numElements

new length of this array

Created with MrDocs