DGtal 1.4.0
Loading...
Searching...
No Matches
DGtal::functors::Identity Struct Reference

Aim: Define a simple default functor that just returns its argument. More...

#include <DGtal/base/BasicFunctors.h>

Public Member Functions

template<typename T >
operator() (const T &aT) const
 

Detailed Description

Member Function Documentation

◆ operator()()

template<typename T >
T DGtal::functors::Identity::operator() ( const T & aT) const
inline

Operator

Returns
aT.
Template Parameters
Tany type

Definition at line 296 of file BasicFunctors.h.

297 {
298 return aT;
299 }

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