CMS 3D CMS Logo

Public Member Functions

npstat::DefaultConstructor2< Result, Arg1, Arg2 > Struct Template Reference

#include <SimpleFunctors.h>

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

List of all members.

Public Member Functions

Result operator() (const Arg1 &, const Arg2 &) const

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

Definition at line 101 of file SimpleFunctors.h.


Member Function Documentation

template<typename Result , typename Arg1 , typename Arg2 >
Result npstat::DefaultConstructor2< Result, Arg1, Arg2 >::operator() ( const Arg1 &  ,
const Arg2 &   
) const [inline, virtual]

Implements npstat::Functor2< Result, Arg1, Arg2 >.

Definition at line 103 of file SimpleFunctors.h.

            {return Result();}