Invoke the specified accessor on the array element at the specified index of the specified array. Return the value from the invocation of accessor.
Synopsis
Declared in <bdlar_arrayref.h>
template<class t_ACCESSOR>
int
bdlat_arrayAccessElement(
ArrayConstRef const& array,
t_ACCESSOR& accessor,
int index);
Return Value
value from the invocation of accessor
Parameters
Name |
Description |
array |
array reference to access |
accessor |
callable invoked on the element |
index |
zero‐based index of the element |
Created with MrDocs