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>
|
template<typename TPair > |
ReturnType & | operator() (TPair &aPair) const |
|
template<typename TPair > |
const ReturnType & | operator() (const TPair &aPair) const |
|
template<typename ReturnType>
class DGtal::functors::Pair2ndMutator< ReturnType >
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'
- Template Parameters
-
ReturnType | type of the first member of the pair |
Definition at line 860 of file BasicFunctors.h.
◆ operator()() [1/2]
template<typename ReturnType >
template<typename TPair >
Operator
- Template Parameters
-
- Parameters
-
- Returns
- constant reference on the second member of aPair.
Definition at line 889 of file BasicFunctors.h.
◆ operator()() [2/2]
template<typename ReturnType >
template<typename TPair >
Operator
- Template Parameters
-
- Parameters
-
- Returns
- reference on the second member of aPair.
Definition at line 874 of file BasicFunctors.h.
The documentation for this class was generated from the following file: