PriorityQueue.clear

removes all elements but keeps allocated memory

struct PriorityQueue(V, alias _pred = "a < b")
void
clear
()

Meta