Alexandria  2.25.0
SDC-CH common library for the Euclid project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
Pyston::Identity< T > Struct Template Reference

#include <Functors.h>

Inheritance diagram for Pyston::Identity< T >:
Inheritance graph
[legend]
Collaboration diagram for Pyston::Identity< T >:
Collaboration graph
[legend]

Public Member Functions

operator() (T value) const
 

Detailed Description

template<typename T>
struct Pyston::Identity< T >

Convenience functor, used to attach a method for the unary '+' operator

Definition at line 30 of file Functors.h.

Member Function Documentation

template<typename T >
T Pyston::Identity< T >::operator() ( value) const
inline

Definition at line 31 of file Functors.h.


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