A simple ElementComparator class that can be used to sort an array of objects that support the '<' operator. More...
#include <juce_ElementComparator.h>
Static Public Member Functions | |
static int | compareElements (ParameterType first, ParameterType second) |
Private Types | |
using | ParameterType = typename TypeHelpers::ParameterType< ElementType >::type |
A simple ElementComparator class that can be used to sort an array of objects that support the '<' operator.
This will work for primitive types and objects that implement operator<().
Example:
@tags{Core}
|
private |
|
inlinestatic |
References juce::gl::first.