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

◆ sort() [2/2]

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

Definition at line 491 of file algorithm.h.

491 {
492 if (first == last || first + 1 == last) {
493 return; // Already sorted or empty
494 }
495
496 detail::quicksort_impl(first, last, comp);
497}
void quicksort_impl(Iterator first, Iterator last, Compare comp)
Definition algorithm.h:351

References fl::detail::quicksort_impl().

Referenced by sort().

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