1 #ifndef DUNE_FEM_DEBUG_HH 2 #define DUNE_FEM_DEBUG_HH 12 #if not defined NDEBUG 28 template<
class CounterImp =
unsigned int >
62 : count_( other.count_ )
110 return count_ == other.count_;
131 return count_ != other.count_;
163 ThisType &operator= (
const ThisType & );
166 inline bool operator ! ()
const void lock()
Definition: debug.hh:175
ThisType & operator++()
increment operator
Definition: debug.hh:73
DebugCounter(const CounterType count=0)
constructor
Definition: debug.hh:51
CounterImp CounterType
integral type for the actual counting
Definition: debug.hh:33
ThisType & operator--()
decrement operator
Definition: debug.hh:87
bool operator==(const ThisType &other)
comparison for equality
Definition: debug.hh:107
Definition: coordinate.hh:4
DebugCounter(const ThisType &other)
copy constructor
Definition: debug.hh:60
A counter only present if NDEBUG is not defined.
Definition: debug.hh:29
DebugLock()
Definition: debug.hh:151
bool operator!=(const ThisType &other)
comparison for inequality
Definition: debug.hh:128
void unlock()
Definition: debug.hh:183