#include <ucommon/platform.h>
Include dependency graph for counter.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | ucommon |
Data Structures | |
class | ucommon::counter |
Automatic integer counting class. More... | |
class | ucommon::SeqCounter |
Automatically return a sequence of untyped objects. More... | |
class | ucommon::sequence< T > |
A template to return a sequence of objects of a specified type. More... | |
class | ucommon::toggle |
Automatically toggle a bool on each reference. More... | |
Typedefs | |
typedef counter | ucommon::counter_t |
A convenience typecast for integer counters. | |
typedef toggle | ucommon::toggle_t |
A convenience typecast for auto-toggled bools. |
This header defines templates for various kinds of automatic counting and sequencing objects. Templates are used to allow manipulation of various numerical-like types.
Definition in file counter.h.