Apply the specified manipulator to the element at the specified index in the specified array.

Synopsis

Declared in <bdlat_arrayfunctions.h>

template<
    class TYPE,
    class ALLOC,
    class MANIPULATOR>
int
bdlat_arrayManipulateElement(
    bsl::vector<TYPE, ALLOC>* array,
    MANIPULATOR& manipulator,
    int index);

Return Value

result of invoking manipulator

Parameters

Name

Description

array

array whose element is manipulated

manipulator

functor applied to the element at index

index

position of the element to manipulate

Created with MrDocs