[#BloombergLP-bdlar-ArrayRef-manipulateElement] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/ArrayRef.adoc[ArrayRef]::manipulateElement :relfileprefix: ../../../ :mrdocs: Invoke the specified `manipulator` on the array element at the specified `index`. The supplied `manipulator` must be a callable type that can be called as if it had the following signature: ` int manipulator(ELEMENT *refOrValue); ` Return the value from the invocation of `manipulator`. The behavior is undefined unless `0 <= index < size()`. == Synopsis Declared in `<bdlar_arrayref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class t_MANIPULATOR> int manipulateElement( t_MANIPULATOR& manipulator, int index) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#