LSDTopoTools
 All Classes Files Functions Variables Friends Pages
Public Member Functions | Public Attributes | List of all members
index_cmp< T > Struct Template Reference

Comparison struct used by sort. More...

Public Member Functions

 index_cmp (const T arr)
 Comparison index.
 
bool operator() (const size_t a, const size_t b) const
 Comparison operator.
 

Public Attributes

const T arr
 Array.
 

Detailed Description

template<class T>
struct index_cmp< T >

Comparison struct used by sort.

http://bytes.com/topic/c/answers/132045-sort-get-index


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