|
dune-typetree 2.12-git
|
Loading...
Searching...
No Matches
utility.hh
Go to the documentation of this file.
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
52 typename std::enable_if<!std::is_lvalue_reference<T>::value,std::shared_ptr<T> >::type convert_arg(T&& t)
194 static const std::size_t maxDepth = ChildInfo::depth > NextChild::maxDepth ? ChildInfo::depth : NextChild::maxDepth;
auto leafCount(const Tree &tree)
The number of leaf nodes in the Tree.
Definition visitor.hh:532
auto nodeCount(const Tree &tree)
The total number of nodes in the Tree.
Definition visitor.hh:524
auto depth(const Tree &tree)
The depth of the TypeTree.
Definition visitor.hh:508
std::shared_ptr< T > stackobject_to_shared_ptr(T &t)
Struct for obtaining some basic structural information about a TypeTree.
Definition utility.hh:121
static const std::size_t leafCount
The number of leaf nodes in the TypeTree.
Definition utility.hh:136
static const std::size_t depth
The depth of the TypeTree.
Definition utility.hh:130
static const std::size_t nodeCount
The total number of nodes in the TypeTree.
Definition utility.hh:133
T reduce(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8