Commit 1c3c666b authored by Christian Engwer's avatar Christian Engwer

[StaticTreePath] name the static TreePath<i,...> as StaticTreePath<i,...>

We introduce an alias StaticTreePath<i,...> refering to the corresponding HybridTreePath<integral_constant<i>,...>.

The old (superseeded) static TreePath<i,...> is now deprecated and will be removed after 2.7.

The StaticTreePath will stay as a convenience alias.
parent 420fc82d
......@@ -430,7 +430,10 @@ namespace Dune {
}
template<std::size_t... i>
using TreePath = HybridTreePath<Dune::index_constant<i>...>;
using TreePath [[deprecated("use StaticTreePath, this type will be removed after DUNE 2.7")]] = HybridTreePath<Dune::index_constant<i>...>;
template<std::size_t... i>
using StaticTreePath = HybridTreePath<Dune::index_constant<i>...>;
//! \} group TypeTree
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment