#include <FMSort.h>
Inheritance diagram for fm::comparator< T >:

Public Member Functions | |
| virtual | ~comparator () |
| Destructor. | |
| virtual bool | compare (const T &a, const T &b) |
| Compares two elements in ascending order, using operator<. | |
| void | sort (T *data, size_t count) |
| Sorts the given array using the quick sort algorithm. | |
|
||||||||||||||||
|
Compares two elements in ascending order, using operator<. Override this function to define your custom comparator.
Reimplemented in fm::icomparator< T >, and fm::pcomparator< T >. |
|
||||||||||||||||
|
Sorts the given array using the quick sort algorithm.
|
1.4.6-NO