Make HybridTreePath compatible with TreePath
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()
.