CMS 3D CMS Logo

Public Member Functions

npstat::DefaultConstructor1< Result, Arg1 > Struct Template Reference

#include <SimpleFunctors.h>

Inheritance diagram for npstat::DefaultConstructor1< Result, Arg1 >:
npstat::Functor1< Result, Arg1 >

List of all members.

Public Member Functions

Result operator() (const Arg1 &) const

Detailed Description

template<typename Result, typename Arg1>
struct npstat::DefaultConstructor1< Result, Arg1 >

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

Definition at line 91 of file SimpleFunctors.h.


Member Function Documentation

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

Implements npstat::Functor1< Result, Arg1 >.

Definition at line 93 of file SimpleFunctors.h.

{return Result();}