|
UCommon
|
Support for various automatic counting objects. More...
#include <ucommon/platform.h>

Go to the source code of this file.
Data Structures | |
| class | counter |
| Automatic integer counting class. More... | |
| class | SeqCounter |
| Automatically return a sequence of untyped objects. More... | |
| class | sequence< T > |
| A template to return a sequence of objects of a specified type. More... | |
| class | toggle |
| Automatically toggle a bool on each reference. More... | |
Typedefs | |
| typedef counter | counter_t |
| A convenience typecast for integer counters. | |
| typedef toggle | toggle_t |
| A convenience typecast for auto-toggled bools. | |
Support for various automatic counting objects.
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.