4#ifndef DUNE_TYPETREE_LEAFNODE_HH
5#define DUNE_TYPETREE_LEAFNODE_HH
40 [[deprecated(
"Will be removed after release 2.9. Use degree()")]]
48 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:44
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:41
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:59
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:46
Tag designating a leaf node.
Definition nodetags.hh:16