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

Function pop_heap

src/fl/stl/priority_queue.h:58–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56
57template <typename Iterator, typename Compare>
58void pop_heap(Iterator first, Iterator last, Compare comp) {
59 --last;
60 auto tmp = *first;
61 *first = *last;
62 *last = tmp;
63
64 sift_down(first, last, first, comp);
65}
66
67template <typename Iterator> void pop_heap(Iterator first, Iterator last) {
68 using value_type = typename fl::remove_reference<decltype(*first)>::type;

Callers 2

popMethod · 0.85
FL_TEST_FILEFunction · 0.85

Calls 1

sift_downFunction · 0.70

Tested by

no test coverage detected