dune-typetree 2.8.0
|
Struct for obtaining some basic structural information about a TypeTree. More...
#include <dune/typetree/utility.hh>
Static Public Attributes | |
static const std::size_t | depth = NodeInfo::depth |
The depth of the TypeTree. More... | |
static const std::size_t | nodeCount = NodeInfo::nodeCount |
The total number of nodes in the TypeTree. More... | |
static const std::size_t | leafCount = NodeInfo::leafCount |
The number of leaf nodes in the TypeTree. More... | |
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.
Tree | The TypeTree to examine. |
Tag | Internal parameter, leave at default value. |
|
static |
The depth of the TypeTree.
|
static |
The number of leaf nodes in the TypeTree.
|
static |
The total number of nodes in the TypeTree.