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

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::ConstValue2< Result, Arg1, Arg2 >:
npstat::Functor2< Result, Arg1, Arg2 >

Public Member Functions

 ConstValue2 (const Result &v)
 
Result operator() (const Arg1 &, const Arg2 &) const
 
bool operator== (const ConstValue2 &r) const
 
bool operator!= (const ConstValue2 &r) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor2< Result, Arg1, Arg2 >
typedef Result result_type
 
typedef Arg1 first_argument_type
 
typedef Arg2 second_argument_type
 

Detailed Description

template<typename Result, typename Arg1, typename Arg2>
class npstat::ConstValue2< Result, Arg1, Arg2 >

Simple functor which returns a constant


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