FastLED 3.10.10
Loading...
Searching...
No Matches

◆ stable_sort() [2/2]

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

Definition at line 621 of file algorithm.h.

621 {
622 if (first == last || first + 1 == last) {
623 return; // Already sorted or empty
624 }
625
626 detail::mergesort_impl(first, last, comp);
627}
void mergesort_impl(Iterator first, Iterator last, Compare comp) FL_NO_EXCEPT
Definition algorithm.h:571

References fl::FL_NO_EXCEPT, and fl::detail::mergesort_impl().

Referenced by stable_sort().

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