CMS 3D CMS Logo

List of all members | Public Member Functions
npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 > Struct Template Reference

#include <SimpleFunctors.h>

Inheritance diagram for npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 >:
npstat::Functor3< Result, Arg1, Arg2, Arg3 >

Public Member Functions

Result operator() (const Arg1 &, const Arg2 &, const Arg3 &) const
 
- Public Member Functions inherited from npstat::Functor3< Result, Arg1, Arg2, Arg3 >
virtual ~Functor3 ()
 

Additional Inherited Members

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

Detailed Description

template<typename Result, typename Arg1, typename Arg2, typename Arg3>
struct npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 >

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

Definition at line 102 of file SimpleFunctors.h.

Member Function Documentation

◆ operator()()

template<typename Result , typename Arg1 , typename Arg2 , typename Arg3 >
Result npstat::DefaultConstructor3< Result, Arg1, Arg2, Arg3 >::operator() ( const Arg1 &  ,
const Arg2 &  ,
const Arg3 &   
) const
inlinevirtual

Implements npstat::Functor3< Result, Arg1, Arg2, Arg3 >.

Definition at line 103 of file SimpleFunctors.h.

103 { return Result(); }