RedBlackTree.insert

Insert a range of elements in the container. Note that this does not invalidate any ranges currently iterating the container.

  1. size_t stableInsert(Stuff stuff)
  2. alias insert = stableInsert
    class RedBlackTree(T, alias less = "a < b", bool allowDuplicates = false)
    alias insert = stableInsert

Return Value

The number of elements inserted.

Complexity: O(m * log(n))

Meta

Suggestion Box / Bug Report