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

◆ quicksort_impl() [1/2]

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

Definition at line 451 of file algorithm.h.

451 {
452 int depth_limit = 0;
453 for (auto n = last - first; n > 1; n >>= 1) {
454 depth_limit += 2;
455 }
456 detail::quicksort_impl(first, last, comp, depth_limit);
457}
void quicksort_impl(Iterator first, Iterator last, Compare comp, int depth_limit) FL_NO_EXCEPT
Definition algorithm.h:428

References fl::FL_NO_EXCEPT, and quicksort_impl().

+ Here is the call graph for this function: