BTree.remove

Erases an element from the tree, if found.

struct BTree(K, V, alias less = "a < b", bool allowDuplicates = false, bool duplicateKeyIsUB = false)
nothrow @nogc
size_t
remove
(
K key
)

Return Value

Type: size_t

Number of elements erased (for now: 0 or 1 only).

Meta