All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
List of all members
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>