llvm::array_pod_sort_comparator

Adapt std::less<T> for array_pod_sort.

Synopsis

Declared in <llvm/ADT/STLExtras.h>

template<typename T>
int
array_pod_sort_comparator(
    void const* P1,
    void const* P2);

Return Value

Negative, zero, or positive as P1 compares less, equal, or greater.

Parameters

NameDescription
P1Pointer to the left-hand element.
P2Pointer to the right-hand element.