Skip to content

Feature/improve treecontainer

Carsten Gräser requested to merge feature/improve-treecontainer into master

Add alias TreeContainer using a meta function to determine the per node value

  • Add support for TreeContainer<LeafToValue,Tree> where LeafToValue<Node> is the value associated to a node of type Node.
  • Add a manual lambda implementing the LeafToValue<Node> transformation by default constructing the values. This is needed because you cannot use a lambda expresion in a type alias.
  • Rename the existing TreeContainer<Value,Tree> alias to UniformTreeContainer<Value,Tree>. This is an interface change but:
    • This is needed because you cannot have to templates of the same name.
    • The new name is better.
    • The old interface was not published in a release so far.

Merge request reports