The OpenD Programming Language

TTree.insertAnywhere

Inserts the given value(s) into the tree.

This is not a stable insert. You will get strange results if you insert into a tree while iterating over it.

import containers.ttree;
struct TTree(T, Allocator = Mallocator, bool allowDuplicates = false, alias less = "a < b", bool supportGC = shouldAddGCRange!T, size_t cacheLineSize = 64)
alias insertAnywhere = insert

Return Value

the number of values added.

Meta