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

#include <SimpleFunctors.hh>

Inheritance diagram for npstat::SameRef< Result >:
npstat::Functor1< const Result &, Result >

Public Member Functions

const Result & operator() (const Result &a) const
 
bool operator== (const SameRef &) const
 
bool operator!= (const SameRef &) const
 

Additional Inherited Members

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

Detailed Description

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

A simple functor which returns a reference to its argument


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