Resize the specified array to contain the specified newSize elements.

Synopsis

Declared in <bdlat_arrayfunctions.h>

template<
    class TYPE,
    class ALLOC>
void
bdlat_arrayResize(
    bsl::vector<TYPE, ALLOC>* array,
    int newSize);

Parameters

Name

Description

array

array to resize

newSize

desired number of elements in array

Created with MrDocs