3#ifndef DUNE_ISTL_COMMON_COUNTER_HH 
    4#define DUNE_ISTL_COMMON_COUNTER_HH 
   15constexpr std::size_t maxcount = 100;
 
   17#define DUNE_GET_COUNTER(Tag)                                                 \ 
   18  (counterFunc(Dune::PriorityTag<maxcount>{}, Tag{}, Dune::CounterImpl::ADLTag{})) 
   20#define DUNE_INC_COUNTER(Tag)                                           \ 
   22    namespace CounterImpl {                                               \ 
   23      constexpr std::size_t                                             \ 
   24      counterFunc(Dune::PriorityTag<DUNE_GET_COUNTER(Tag)+1> p, Tag, ADLTag)        \ 
   30  static_assert(true, "unfudge indentation")
 
   35    namespace CounterImpl {
 
Dune namespace.
Definition: alignedallocator.hh:13
 
Helper class for tagging priorities.
Definition: typeutilities.hh:87
 
Utilities for type computations, constraining overloads, ...