BloombergLP::bdlat_ArrayFunctions::supportsReserve

Return true if reserve will attempt to reserve capacity in the specified array, and false otherwise.

Synopsis

Declared in <bdlat_arrayfunctions.h>

template<class TYPE>
bool
supportsReserve(TYPE const& array);

Return Value

true if array supports reserve, and false otherwise

Parameters

NameDescription
arrayarray to query for reserve support