1#ifndef DUNE_FEM_DEBUG_HH
2#define DUNE_FEM_DEBUG_HH
28 template<
class CounterImp =
unsigned int >
Definition: bindguard.hh:11
A counter only present if NDEBUG is not defined.
Definition: debug.hh:30
DebugCounter(const ThisType &other)
copy constructor
Definition: debug.hh:60
bool operator==(const ThisType &other)
comparison for equality
Definition: debug.hh:107
bool operator!=(const ThisType &other)
comparison for inequality
Definition: debug.hh:128
CounterType count_
Definition: debug.hh:40
ThisType & operator++()
increment operator
Definition: debug.hh:73
DebugCounter(const CounterType count=0)
constructor
Definition: debug.hh:51
ThisType & operator--()
decrement operator
Definition: debug.hh:87
CounterImp CounterType
integral type for the actual counting
Definition: debug.hh:33
DebugLock(const ThisType &)=delete
void lock()
Definition: debug.hh:170
bool lock_
Definition: debug.hh:147
void unlock()
Definition: debug.hh:178
DebugLock()
Definition: debug.hh:151
ThisType & operator=(const ThisType &)=delete
bool operator!() const
Definition: debug.hh:161