BloombergLP::bdlat_ArrayFunctions::bdlat_arraySupportsReserve

bdlat_arraySupportsReserve overloads

Synopses

Declared in <bdlat_arrayfunctions.h>

Return true if the specified array supports the reserve method, and false otherwise.

template<class TYPE>
bool
bdlat_arraySupportsReserve(TYPE const& array);
» more...

Return true if the specified array supports the reserve method.

template<
    class TYPE,
    class ALLOC>
bool
bdlat_arraySupportsReserve(bsl::vector<TYPE, ALLOC> const& array);
» more...

Return Value

true if array supports reserve, and false otherwise

Parameters

NameDescription
arrayarray to query for reserve support