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

#include <SimpleFunctors.hh>

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

Public Member Functions

Result operator() (const Arg1 &, const Arg2 &) const
 
bool operator== (const DefaultConstructor2 &) const
 
bool operator!= (const DefaultConstructor2 &) 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>
struct npstat::DefaultConstructor2< Result, Arg1, Arg2 >

Simple functor which ignores is arguments and instead builds the result using the default constructor of the result type


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