1#ifndef DUNE_ISTL_COMMON_COUNTER_HH
2#define DUNE_ISTL_COMMON_COUNTER_HH
13constexpr std::size_t maxcount = 100;
15#define DUNE_GET_COUNTER(Tag) \
16 (counterFunc(Dune::PriorityTag<maxcount>{}, Tag{}, Dune::CounterImpl::ADLTag{}))
18#define DUNE_INC_COUNTER(Tag) \
20 namespace CounterImpl { \
21 constexpr std::size_t \
22 counterFunc(Dune::PriorityTag<DUNE_GET_COUNTER(Tag)+1> p, Tag, ADLTag) \
28 static_assert(true, "unfudge indentation")
33 namespace CounterImpl {
Dune namespace.
Definition: alignedallocator.hh:11
Helper class for tagging priorities.
Definition: typeutilities.hh:85
Utilities for type computations, constraining overloads, ...