CompareAsc< T > Struct Template Reference

List of all members.

Public Member Functions

 CompareAsc (T d)
template<typename Index >
bool operator() (Index i1, Index i2)

Public Attributes

fData

Detailed Description

template<typename T>
struct CompareAsc< T >

Definition at line 96 of file cf2rr.cc.


Constructor & Destructor Documentation

template<typename T >
CompareAsc< T >::CompareAsc ( d  )  [inline]

Definition at line 98 of file cf2rr.cc.

00098 : fData(d) {}


Member Function Documentation

template<typename T >
template<typename Index >
bool CompareAsc< T >::operator() ( Index  i1,
Index  i2 
) [inline]

Definition at line 101 of file cf2rr.cc.

References CompareAsc< T >::fData.

00101                                        {
00102       return *(fData + i1) < *(fData + i2);
00103    }


Member Data Documentation

template<typename T >
T CompareAsc< T >::fData

Definition at line 105 of file cf2rr.cc.

Referenced by CompareAsc< T >::operator()().


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

Generated on 15 Jul 2018 for loon by  doxygen 1.6.1