yat  0.20.3pre
Public Member Functions | List of all members
theplu::yat::utility::Identity< T > Struct Template Reference

Identity functor that returns its argument. More...

#include <yat/utility/stl_utility.h>

Inheritance diagram for theplu::yat::utility::Identity< T >:

Public Member Functions

operator() (T arg) const
 

Detailed Description

template<typename T>
struct theplu::yat::utility::Identity< T >

Identity functor that returns its argument.

Since
New in yat 0.7

Member Function Documentation

◆ operator()()

template<typename T >
T theplu::yat::utility::Identity< T >::operator() ( arg) const
inline
Returns
arg

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

Generated on Sat Feb 18 2023 03:31:45 for yat by  doxygen 1.8.14