|
dune-common 2.10
|
Apply reduce with meta binary function to template. More...
#include <dune/common/tupleutility.hh>

Public Types | |
| typedef Seed | type |
| Result of the reduce operation. | |
| typedef ReduceTuple< F, Tuple, Seed, N-1 >::type | Accumulated |
| typedef std::tuple_element< N-1, Tuple >::type | Value |
Apply reduce with meta binary function to template.
Specialization for reduction of 0 elements. The exported result type is Seed.
| F | Binary meta function |
| Tuple | Apply reduce operation to this std::tuple |
| Seed | Initial value for reduce operation |
| typedef ReduceTuple<F,Tuple,Seed,N-1>::type Dune::ReduceTuple< F, Tuple, Seed, N >::Accumulated |
| typedef std::tuple_element<N-1,Tuple>::type Dune::ReduceTuple< F, Tuple, Seed, N >::Value |