dune-typetree
2.8.0
|
Classes | |
struct | LeafCounterVisitor |
struct | NodeCounterVisitor |
struct | DepthVisitor |
Functions | |
template<typename Tree > | |
auto | depth (const Tree &tree) |
The depth of the TypeTree. More... | |
template<typename Tree > | |
constexpr auto | depth () |
The depth of the Tree. More... | |
template<typename Tree > | |
auto | nodeCount (const Tree &tree) |
The total number of nodes in the Tree. More... | |
template<typename Tree > | |
auto | leafCount (const Tree &tree) |
The number of leaf nodes in the Tree. More... | |
Variables | |
template<typename Tree > | |
constexpr bool | isDynamic = std::is_same<std::size_t, decltype(leafCount(std::declval<Tree>()))>{} |
true if any of the nodes in the tree only has dynamic degree. More... | |
|
constexpr |
The depth of the Tree.
auto Dune::TypeTree::Experimental::Info::depth | ( | const Tree & | tree | ) |
The depth of the TypeTree.
auto Dune::TypeTree::Experimental::Info::leafCount | ( | const Tree & | tree | ) |
The number of leaf nodes in the Tree.
auto Dune::TypeTree::Experimental::Info::nodeCount | ( | const Tree & | tree | ) |
The total number of nodes in the Tree.
|
constexpr |
true if any of the nodes in the tree only has dynamic degree.