CMS 3D CMS Logo

List of all members | Public Member Functions
npstat::DefaultConstructor0< Result > Struct Template Reference

#include <SimpleFunctors.h>

Inheritance diagram for npstat::DefaultConstructor0< Result >:
npstat::Functor0< Result >

Public Member Functions

Result operator() () const
 
- Public Member Functions inherited from npstat::Functor0< Result >
virtual ~Functor0 ()
 

Additional Inherited Members

- Public Types inherited from npstat::Functor0< Result >
typedef Result result_type
 

Detailed Description

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

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

Definition at line 75 of file SimpleFunctors.h.

Member Function Documentation

◆ operator()()

template<typename Result >
Result npstat::DefaultConstructor0< Result >::operator() ( ) const
inlinevirtual

Implements npstat::Functor0< Result >.

Definition at line 76 of file SimpleFunctors.h.

76 { return Result(); }