FastLED 3.9.15
Loading...
Searching...
No Matches

◆ stable_sort() [2/2]

template<typename Iterator, typename Compare>
void fl::stable_sort ( Iterator first,
Iterator last,
Compare comp )

Definition at line 509 of file algorithm.h.

509 {
510 if (first == last || first + 1 == last) {
511 return; // Already sorted or empty
512 }
513
514 detail::mergesort_impl(first, last, comp);
515}
void mergesort_impl(Iterator first, Iterator last, Compare comp)
Definition algorithm.h:474

References fl::detail::mergesort_impl().

Referenced by stable_sort().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: