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

◆ pop_heap() [2/2]

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

Definition at line 58 of file priority_queue.h.

58 {
59 --last;
60 auto tmp = *first;
61 *first = *last;
62 *last = tmp;
63
64 sift_down(first, last, first, comp);
65}
void sift_down(Iterator first, Iterator last, Iterator start, Compare comp)

References sift_down().

Referenced by fl::PriorityQueue< T, Compare, VectorT >::pop(), and pop_heap().

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