47 #ifndef CCXX_COUNTER_H_
48 #define CCXX_COUNTER_H_
50 #ifdef CCXX_NAMESPACES
81 {count = counter.
count;};
99 #ifdef CCXX_NAMESPACES
Counter()
Construct and initialize a counter to zero.
Definition: counter.h:72
Counter(const Counter &counter)
Construct a counter with an initial value set for another counter.
Definition: counter.h:80
T & operator=(T c)
Definition: counter.h:92
Counter(T initial)
Construct a counter with an initial value of the specified data type.
Definition: counter.h:89
The counter template is used for generic objects which act as automatic counters. ...
Definition: counter.h:63
T count
Definition: counter.h:66