#include <utilmm/functional/utils.hh>
Public Member Functions | |
arg_type | operator() (arg_type x) const |
Identity call. |
This functor correspond to the identity function. It is a function that will return exactly the same value as passed as argument. It also uses arg_traits to improve performances avoiding the copy of complex objects
Ty | the type of arguments |
arg_type utilmm::identity< Ty >::operator() | ( | arg_type | x | ) | const [inline] |
Identity call.
x | The argument |