TTree.insert

Inserts the given value into the tree.

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

  1. bool insert(T value)
    struct TTree(T, Allocator = Mallocator, bool allowDuplicates = false, alias less = "a < b", bool supportGC = shouldAddGCRange!T, size_t cacheLineSize = 64)
    bool
    insert
    ()
  2. bool insert(R r)
  3. bool insert(T[] values)

Return Value

Type: bool

true if any values were added.

Meta