BloombergLP::bdlb::ArrayUtil

This struct provides a namespace for a collection of function templates providing access to the length and iterators of statically sized built-in arrays

Synopsis

Declared in <bdlb_arrayutil.h>

struct ArrayUtil;

Static Member Functions

NameDescription
begin Return an iterator pointing to the first element of the specified array of template parameter LENGTH elements of template parameter TYPE.
end Return the past-the-end iterator for the specified array of template parameter LENGTH elements of template parameter TYPE.
length Return the number of elements in the specified array.
rbegin Return a reverse iterator pointing to the last element of the specified array of template parameter LENGTH elements of template parameter TYPE.
rend Return the past-the-end reverse iterator for the specified array of template parameter LENGTH elements of template parameter TYPE.
size Return the number of elements in the specified array.
sizer Return a reference to a char array matching array in length.