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


Detailed Description

template<typename T>
struct CompareAsc< T >

Definition at line 96 of file

Constructor & Destructor Documentation

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

Definition at line 98 of file

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

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

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

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

Generated on 18 Dec 2018 for loon by  doxygen 1.6.1