#include <utility.hh>
This class provides the framework to process two tuples at once. It works the same as ForEachValue, just that the corresponding function object takes one argument from the first tuple and one argument from the second.
Public Member Functions | |
ForEachValuePair (TupleType1 &t1, TupleType2 &t2) | |
template<class Functor> | |
void | apply (Functor &f) |
Dune::ForEachValuePair< TupleType1, TupleType2 >::ForEachValuePair | ( | TupleType1 & | t1, | |
TupleType2 & | t2 | |||
) | [inline] |
void Dune::ForEachValuePair< TupleType1, TupleType2 >::apply | ( | Functor & | f | ) | [inline] |
Applies the function object f to the pair of tuples.
f | The function object to apply on the pair of tuples. |