RedBlackTree.clear

Removes all elements from the container.

Complexity: O(1)

class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
void
clear
()
if (
is(typeof(binaryFun!less(T.init, T.init)))
)

Meta

Suggestion Box / Bug Report