clear

fun clear()

Removes all the elements in @queue. If queue elements contain dynamically-allocated memory, they should be freed first.

Since

2.14