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)
  2. bool insert(R r)
    struct TTree(T, Allocator = Mallocator, bool allowDuplicates = false, alias less = "a < b", bool supportGC = shouldAddGCRange!T, size_t cacheLineSize = 64)
    bool
    insert
    (
    R
    )
    (
    R r
    )
    if (
    isInputRange!R &&
    is(ElementType!R == T)
    )
  3. bool insert(T[] values)

Return Value

Type: bool

true if any values were added.

Meta