NoCounter Class Reference


Detailed Description

This class can be used in the same way as Counter, but it does not count at all and does not print report on destruction.

Replacing a Counter with a NoCounter makes it possible to turn off all counting and reporting (SubCounters should also be replaced with NoSubCounters), so it does not affect the efficiency of the program at all.

See also:
Counter

#include <lemon/counter.h>

List of all members.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines