pal::Util class

Contents

Public static functions

static void sort(void** items, int N, bool(*)(void*l, void*r) greater)
Sort an array of pointers.

Function documentation

static void pal::Util::sort(void** items, int N, bool(*)(void*l, void*r) greater)

Sort an array of pointers.

Parameters
items arays of pointers to sort
N number of items
greater function to compare two items