[#BloombergLP-bdlb-ArrayUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::ArrayUtil :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct ArrayUtil; ---- == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlb/ArrayUtil/begin.adoc[`begin`] | Return an iterator pointing to the first element of the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. | xref:BloombergLP/bdlb/ArrayUtil/end.adoc[`end`] | Return the past‐the‐end iterator for the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. | xref:BloombergLP/bdlb/ArrayUtil/length.adoc[`length`] | Return the number of elements in the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. This method is synonymous with the `size` method. | xref:BloombergLP/bdlb/ArrayUtil/rbegin.adoc[`rbegin`] | Return a reverse iterator pointing to the last element of the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. | xref:BloombergLP/bdlb/ArrayUtil/rend.adoc[`rend`] | Return the past‐the‐end reverse iterator for the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. | xref:BloombergLP/bdlb/ArrayUtil/size.adoc[`size`] | Return the number of elements in the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. This method is synonymous with the `length` method. | xref:BloombergLP/bdlb/ArrayUtil/sizer.adoc[`sizer`] | Return a reference to an array of `char`s with the same number of elements as the specified `array` of template parameter `LENGTH` elements of template parameter `TYPE`. This function is _not_ implemented and can only be used in a non‐evaluated context. The function is used together with `sizeof` to obtain a constant expression with the `LENGTH` of the `array`. See `BDLB_ARRAYUTIL_SIZE` and `BDLB_ARRAYUTIL_LENGTH`. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#