[#BloombergLP-bdlat_ArrayFunctions-bdlat_arrayAccessElement] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat_ArrayFunctions]::bdlat_arrayAccessElement :relfileprefix: ../../ :mrdocs: Invoke the specified `accessor` on the element at the specified `index` of the specified `array`. Return the value from the invocation of `accessor`. == Synopsis Declared in `<bdlat_arrayfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class ALLOC, class ACCESSOR> int bdlat_arrayAccessElement( xref:bsl/vector-00d.adoc[bsl::vector<TYPE, ALLOC>] const& array, ACCESSOR& accessor, int index); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#