Instigate Open Source Documentation

instigate::stl::constant_generator< T > Class Template Reference

The class constant_generator receives an argument in constructor and returns its value whether operator() is called. More...

#include <functional.hpp>

List of all members.

Public Member Functions

operator() ()
 constant_generator (T t)
 Constructor.


Detailed Description

template<typename T>
class instigate::stl::constant_generator< T >

The class constant_generator receives an argument in constructor and returns its value whether operator() is called.

Constructor & Destructor Documentation

template<typename T>
instigate::stl::constant_generator< T >::constant_generator ( t  )  [inline]

Constructor.

Parameters:
t The value which be returned if operator() is called


Member Function Documentation

template<typename T>
T instigate::stl::constant_generator< T >::operator() (  )  [inline]

Returns:
The value received in constructor


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


© Instigate CJSC, Open Source