Reserve capacity for the specified array to hold at least the specified numElements elements.

Synopsis

Declared in <bdlat_arrayfunctions.h>

template<class TYPE>
int
bdlat_arrayReserve(
    TYPE* array,
    int numElements);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

array

array whose capacity is reserved

numElements

minimum capacity to reserve

Created with MrDocs