Invoke the specified manipulator on the address of the element at the specified index of the specified array.
Declared in <bdlar_arrayref.h>
template<class t_MANIPULATOR>
int
bdlat_arrayManipulateElement(
ArrayRef* array,
t_MANIPULATOR& manipulator,
int index);
Return the value from the invocation of manipulator.
value from the invocation of manipulator
| Name | Description |
|---|---|
| array | array reference to manipulate |
| manipulator | callable invoked on the element |
| index | zero-based index of the element |