CMS 3D CMS Logo

Public Member Functions

npstat::DefaultConstructor0< Result > Struct Template Reference

#include <SimpleFunctors.h>

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

List of all members.

Public Member Functions

Result operator() () const

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 81 of file SimpleFunctors.h.


Member Function Documentation

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

Implements npstat::Functor0< Result >.

Definition at line 83 of file SimpleFunctors.h.

{return Result();}