Extension of ForEachValue to two std::tuple's. More...
#include <dune/common/tupleutility.hh>
Public Member Functions | |
ForEachValuePair (Tuple1 &t1, Tuple2 &t2) | |
template<class Functor > | |
void | apply (Functor &f) |
Extension of ForEachValue to two std::tuple's.
This class provides the framework to process two std::tuple's at once. It works the same as ForEachValue, just that the corresponding function object takes one argument from the first std::tuple and one argument from the second.
Dune::ForEachValuePair< Tuple1, Tuple2 >::ForEachValuePair | ( | Tuple1 & | t1, | |
Tuple2 & | t2 | |||
) | [inline] |
Constructor
t1 | First std::tuple. | |
t2 | Second std::tuple. |