npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::Shift< Result > Class Template Reference

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::Shift< Result >:
npstat::Functor1< Result, Result >

Public Member Functions

 Shift (const Result &v)
 
Result operator() (const Result &a) const
 
bool operator== (const Shift &r) const
 
bool operator!= (const Shift &r) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor1< Result, Result >
typedef Result result_type
 
typedef Result first_argument_type
 

Detailed Description

template<typename Result>
class npstat::Shift< Result >

A simple functor which adds a constant to its argument


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