Wrapper that handles buffer allocation and fallback to std::stable_sort.
Synopsis
Declared in <folly/algorithm/StableRadixSort.h>
template<
typename ContiguousIt,
typename Projection>
void
stableRadixSort(
ContiguousIt first,
ContiguousIt last,
Projection proj);
Parameters
Name |
Description |
first |
Iterator to the first element to sort. |
last |
Iterator past the last element to sort. |
proj |
Projection returning the sort key for each element. |
Created with MrDocs