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.

Synopses

Declared in <bdlar_arrayref.h>

Invoke the specified accessor on the array element at the specified index of the specified array. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_arrayAccessElement(
    ArrayConstRef const& array,
    t_ACCESSOR& accessor,
    int index);
» more...

Invoke the specified accessor on the array element at the specified index of the specified array. Return the value from the invocation of accessor.

template<class t_ACCESSOR>
int
bdlat_arrayAccessElement(
    ArrayRef const& array,
    t_ACCESSOR& accessor,
    int index);
» more...