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

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::FcnFunctor0< Result >:
npstat::Functor0< Result >

Public Member Functions

 FcnFunctor0 (Result(*fcn)())
 
Result operator() () const
 
bool operator== (const FcnFunctor0 &r) const
 
bool operator!= (const FcnFunctor0 &r) const
 

Additional Inherited Members

- Public Types inherited from npstat::Functor0< Result >
typedef Result result_type
 

Detailed Description

template<typename Result>
struct npstat::FcnFunctor0< Result >

Adaptation for using functors without arguments with simple cmath-style functions


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