BloombergLP::bdlar::bdlat_arrayAccessElement

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(
    ArrayRef const& array,
    t_ACCESSOR& accessor,
    int index);