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