Skip to content

Make HybridTreePath compatible with TreePath

Carsten Gräser requested to merge feature/compatible-hybridtreepath into master

This allows to use HybridTreePath<index_constant<i>...> as a drop in replacement for TreePath<i...>. It also replaces two remaining use cases of TreePath by their HybridTreePath analogue. This implements #10.

As a consequence TreePath could be dropped if all downstream modules have switched to HybridTreePath. Once this transition was made we can consider getting rid of some of the functionality introduced here. E.g. Dune::TypeTree::TreePathSize<HTP>::value could be easily replaced by HTP::size().

Merge request reports