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