#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 32 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 34 of file ArrayHelpers.hpp.
|
inline |
Definition at line 36 of file ArrayHelpers.hpp.
|
private |
Definition at line 43 of file ArrayHelpers.hpp.
|
private |
Definition at line 44 of file ArrayHelpers.hpp.