BloombergLP::bdlat_ArrayFunctions::bdlat_arrayReserve

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

Synopses

Declared in <bdlat_arrayfunctions.h>

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

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

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

template<
    class TYPE,
    class ALLOC>
int
bdlat_arrayReserve(
    bsl::vector<TYPE, ALLOC>* array,
    int numElements);
» more...