Simple Application Framework  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Saf::Algo::Identity< T > Struct Template Reference

Identity functor. More...

#include <Basic.h>

Inheritance diagram for Saf::Algo::Identity< T >:
Saf::Algo::UnaryFunction< T, T >

List of all members.

Public Member Functions

T & operator() (T &val) const
 Identity operation on a mutable value.
const T & operator() (const T &val) const
 Identity operation on a non-mutable value.

Detailed Description

template<class T>
struct Saf::Algo::Identity< T >

Identity functor.


Member Function Documentation

template<class T>
T& Saf::Algo::Identity< T >::operator() ( T &  val) const [inline]

Identity operation on a mutable value.

template<class T>
const T& Saf::Algo::Identity< T >::operator() ( const T &  val) const [inline]

Identity operation on a non-mutable value.


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