Invoke the specified manipulator on the address of the element at the specified index of the specified array.

Synopsis

Declared in <bdlar_arrayref.h>

template<class t_MANIPULATOR>
int
bdlat_arrayManipulateElement(
    ArrayRef* array,
    t_MANIPULATOR& manipulator,
    int index);

Description

Return the value from the invocation of manipulator.

Return Value

value from the invocation of manipulator

Parameters

Name

Description

array

array reference to manipulate

manipulator

callable invoked on the element

index

zero‐based index of the element

Created with MrDocs