dune-typetree
2.3.1
|
Statically accumulate a type over the nodes of a TypeTree. More...
#include <dune/typetree/accumulate_static.hh>
Public Types | |
typedef accumulate_type< Tree, Policy, typename Policy::start_type, TreePath <>, typename Tree::NodeTag > ::type | type |
The accumulated result of the computation. More... | |
Statically accumulate a type over the nodes of a TypeTree.
This struct implements an algorithm for iterating over a tree and calculating an accumulated type at compile time.
Tree | The tree to iterate over. |
Policy | Model of TypeAccumulationPolicy controlling the behavior of the algorithm. |
typedef accumulate_type< Tree, Policy, typename Policy::start_type, TreePath<>, typename Tree::NodeTag >::type Dune::TypeTree::AccumulateType< Tree, Policy >::type |
The accumulated result of the computation.