Return the number of elements in the specified array.
Synopsis
Declared in <bdlb_arrayutil.h>
template<
class TYPE,
std::size_t LENGTH>
static
std::size_t
length(TYPE(& array)[]);
Description
The array consists of template parameter LENGTH elements of template parameter TYPE. This method is synonymous with the size method.
Return Value
number of elements in array
Parameters
Name |
Description |
array |
array whose element count is returned |
Created with MrDocs