MCPcopy Create free account
hub / github.com/FastLED/FastLED / stable_sort

Function stable_sort

src/fl/stl/algorithm.h:582–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580// Stable sort function with custom comparator (using merge sort)
581template <typename Iterator, typename Compare>
582void stable_sort(Iterator first, Iterator last, Compare comp) FL_NOEXCEPT {
583 if (first == last || first + 1 == last) {
584 return; // Already sorted or empty
585 }
586
587 detail::mergesort_impl(first, last, comp);
588}
589
590// Stable sort function with default comparator
591template <typename Iterator>

Callers 1

FL_TEST_FILEFunction · 0.85

Calls 1

mergesort_implFunction · 0.85

Tested by

no test coverage detected