Belle II Software development
Id Struct Reference

Generic identity functor. More...

#include <Functional.h>

Public Member Functions

 operator FunctorTag ()
 Marker function for the isFunctor test.
 
template<class T >
T && operator() (T &&t) const
 Operator that just returns the object itself - gets me.
 

Detailed Description

Generic identity functor.

Definition at line 25 of file Functional.h.

Member Function Documentation

◆ operator()()

T && operator() ( T &&  t) const
inline

Operator that just returns the object itself - gets me.

Definition at line 31 of file Functional.h.

32 {
33 return std::forward<T>(t);
34 }

The documentation for this struct was generated from the following file: