UCommon
|
Support for various automatic counting objects. More...
#include <ucommon/platform.h>
Go to the source code of this file.
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... | |
Namespaces | |
namespace | ucommon |
Common namespace for all ucommon objects. | |
Typedefs | |
typedef counter | ucommon::counter_t |
A convenience typecast for integer counters. | |
typedef toggle | ucommon::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.