Aim: Define a simple unary functor that returns a reference on the first member of a pair in order to update it. More...
#include <DGtal/base/BasicFunctors.h>
Public Member Functions | |
template<typename TPair> | |
ReturnType & | operator() (TPair &aPair) const |
template<typename TPair> | |
const ReturnType & | operator() (const TPair &aPair) const |
Aim: Define a simple unary functor that returns a reference on the first member of a pair in order to update it.
Description of template class 'Pair2ndMutator'
ReturnType | type of the first member of the pair |
Definition at line 860 of file BasicFunctors.h.
|
inline |
Operator
TPair | model of CPair |
aPair | input pair |
Definition at line 889 of file BasicFunctors.h.
|
inline |
Operator
TPair | model of CPair |
aPair | input pair |
Definition at line 874 of file BasicFunctors.h.