Struct for obtaining some basic structural information about a TypeTree.
More...
#include <dune/typetree/utility.hh>
template<typename Tree, typename Tag = StartTag>
struct Dune::TypeTree::TreeInfo< Tree, Tag >
Struct for obtaining some basic structural information about a TypeTree.
This struct extracts basic information about the passed TypeTree and presents them in a static way suitable for use as compile-time constants.
- Template Parameters
-
Tree | The TypeTree to examine. |
Tag | Internal parameter, leave at default value. |
◆ depth
template<typename Tree , typename Tag = StartTag>
◆ leafCount
template<typename Tree , typename Tag = StartTag>
The number of leaf nodes in the TypeTree.
◆ nodeCount
template<typename Tree , typename Tag = StartTag>
The total number of nodes in the TypeTree.
The documentation for this struct was generated from the following file: