Public Types | Public Member Functions | List of all members
lar::Identity< T > Class Template Reference

Functor returning the object specified as argument. More...

#include <NestedIterator.h>

Public Types

typedef T argument_type
 
typedef T result_type
 

Public Member Functions

result_typeoperator() (argument_type &x) const
 
const result_typeoperator() (const argument_type &x) const
 

Detailed Description

template<class T>
class lar::Identity< T >

Functor returning the object specified as argument.

Definition at line 48 of file NestedIterator.h.

Member Typedef Documentation

template<class T >
typedef T lar::Identity< T >::argument_type

Definition at line 125 of file NestedIterator.h.

template<class T >
typedef T lar::Identity< T >::result_type

Definition at line 126 of file NestedIterator.h.

Member Function Documentation

template<class T >
result_type& lar::Identity< T >::operator() ( argument_type x) const
inline

Definition at line 128 of file NestedIterator.h.

128 { return x; }
list x
Definition: train.py:276
template<class T >
const result_type& lar::Identity< T >::operator() ( const argument_type x) const
inline

Definition at line 129 of file NestedIterator.h.

129 { return x; }
list x
Definition: train.py:276

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