CMS 3D CMS Logo

Public Member Functions

npstat::Same< Result > Struct Template Reference

#include <SimpleFunctors.h>

Inheritance diagram for npstat::Same< Result >:
npstat::Functor1< Result, Result >

List of all members.

Public Member Functions

Result operator() (const Result &a) const

Detailed Description

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

A simple functor which returns a copy of its argument

Definition at line 64 of file SimpleFunctors.h.


Member Function Documentation

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

Implements npstat::Functor1< Result, Result >.

Definition at line 66 of file SimpleFunctors.h.

References a.

{return a;}