LMMS
Loading...
Searching...
No Matches
ElementComparator.h File Reference
#include "../water.h"

Go to the source code of this file.

Classes

struct  water::SortFunctionConverter< ElementComparator >
class  water::DefaultElementComparator< ElementType >

Namespaces

namespace  water

Functions

template<class ElementType, class ElementComparator>
static void water::sortArray (ElementComparator &comparator, ElementType *const array, int firstElement, int lastElement, const bool retainOrderOfEquivalentItems)
template<class ElementType, class ElementComparator>
static int water::findInsertIndexInSortedArray (ElementComparator &comparator, ElementType *const array, const ElementType newElement, int firstElement, int lastElement)