#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 |
|
inline |
Definition at line 30 of file ArrayHelpers.hpp.
|
inline |
Definition at line 32 of file ArrayHelpers.hpp.
|
private |
Definition at line 39 of file ArrayHelpers.hpp.
|
private |
Definition at line 40 of file ArrayHelpers.hpp.