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

◆ clear()

template<typename T, typename Compare = fl::less<T>>
void fl::priority_queue_stable< T, Compare >::clear ( )
inline

Clear all elements from the queue.

Definition at line 255 of file priority_queue.h.

255 {
256 while (!empty()) {
257 pop();
258 }
259 mNextSequence = 0;
260 }
void pop()
Remove the top element from the queue.
bool empty() const
Check if the queue is empty.

References empty(), mNextSequence, and pop().

+ Here is the call graph for this function: