LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 46 of file NestedIterator.h.

Member Typedef Documentation

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

Definition at line 117 of file NestedIterator.h.

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

Definition at line 118 of file NestedIterator.h.

Member Function Documentation

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

Definition at line 120 of file NestedIterator.h.

References x.

120 { return x; }
Float_t x
Definition: compare.C:6
template<class T >
const result_type& lar::Identity< T >::operator() ( const argument_type x) const
inline

Definition at line 121 of file NestedIterator.h.

References x.

121 { return x; }
Float_t x
Definition: compare.C:6

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