#include <AH/Containers/ArrayHelpers.hpp>
Utility class that acts as a functor to return incremental values.
T | The type that will be returned by the functor, as well as the type of the initial value. |
V | The type of the object that is added to the value on each call. |
Definition at line 28 of file ArrayHelpers.hpp.
Public Member Functions | |
Incrementor (T start=0, V increment=1) | |
T | operator() () |
Private Attributes | |
T | value |
const V | increment |
Definition at line 30 of file ArrayHelpers.hpp.
Definition at line 32 of file ArrayHelpers.hpp.
Definition at line 40 of file ArrayHelpers.hpp.