[#BloombergLP-bdlat_ArrayFunctions-manipulateElement] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlat_ArrayFunctions.adoc[bdlat_ArrayFunctions]::manipulateElement :relfileprefix: ../../ :mrdocs: ` Return the value from the invocation of `manipulator`. The behavior is undefined unless `0 <= index` and `index < size(*array)`. == Synopsis Declared in `<bdlat_arrayfunctions.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< class TYPE, class MANIPULATOR> int manipulateElement( TYPE* array, MANIPULATOR& manipulator, int index); ---- == Return Value result of invoking `manipulator` == Parameters [cols="1,4"] |=== | Name| Description | *array* | array whose element is manipulated | *manipulator* | functor applied to the element at `index` | *index* | position of the element to manipulate |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#