Utility class that acts as a functor to return incremental values. More...
#include <AH/Containers/ArrayHelpers.hpp>
 Collaboration diagram for Incrementor< T, V >:Public Member Functions | |
| Incrementor (T start=0, V increment=1) | |
| T | operator() () | 
Private Attributes | |
| T | value | 
| const V | increment | 
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.
      
  | 
  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.