TTree.remove

Removes a value from the tree.

struct TTree(T, Allocator = Mallocator, bool allowDuplicates = false, alias less = "a < b", bool supportGC = shouldAddGCRange!T, size_t cacheLineSize = 64)
bool
remove
(,
void delegate
(
T
)
cleanup = null
)

Parameters

value T

a value equal to the one to be removed

cleanup void delegate
(
T
)

a function that should be run on the removed item Retuns: true if any value was removed

Meta