FastLED 3.10.8
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 589 of file algorithm.h.

589 {
590 if (first == last || first + 1 == last) {
591 return; // Already sorted or empty
592 }
593
594 detail::mergesort_impl(first, last, comp);
595}
void mergesort_impl(Iterator first, Iterator last, Compare comp) FL_NO_EXCEPT
Definition algorithm.h:539

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: