KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Types | Public Member Functions | List of all members
kjb::Increase_by< T > Class Template Reference

Generator that increases (using +=) itself by the given value everytime it is called. More...

#include <l_functors.h>

Public Types

typedef T result_type
 

Public Member Functions

 Increase_by (const T &initial_value, const T &increase_value)
 
operator() ()
 
 ~Increase_by ()
 

Detailed Description

template<class T>
class kjb::Increase_by< T >

Generator that increases (using +=) itself by the given value everytime it is called.

Member Typedef Documentation

template<class T >
typedef T kjb::Increase_by< T >::result_type

Constructor & Destructor Documentation

template<class T >
kjb::Increase_by< T >::Increase_by ( const T &  initial_value,
const T &  increase_value 
)
inline
template<class T >
kjb::Increase_by< T >::~Increase_by ( )
inline

Member Function Documentation

template<class T >
T kjb::Increase_by< T >::operator() ( )
inline

The documentation for this class was generated from the following file: