4#ifndef DUNE_TYPETREE_LEAFNODE_HH
5#define DUNE_TYPETREE_LEAFNODE_HH
47 return std::integral_constant<std::size_t,0>{};
Definition: accumulate_static.hh:13
Base class for leaf nodes in a dune-typetree.
Definition: leafnode.hh:26
LeafNodeTag NodeTag
The type tag that describes a LeafNode.
Definition: leafnode.hh:43
static const bool isLeaf
Mark this class as a leaf in a dune-typetree.
Definition: leafnode.hh:31
static const std::size_t CHILDREN
Leafs have no children.
Definition: leafnode.hh:40
static const bool isPower
Mark this class as a non power in the dune-typetree.
Definition: leafnode.hh:34
LeafNode()
Default constructor.
Definition: leafnode.hh:58
static const bool isComposite
Mark this class as a non composite in the dune-typetree.
Definition: leafnode.hh:37
static constexpr auto degree()
Definition: leafnode.hh:45
Tag designating a leaf node.
Definition: nodetags.hh:16