TreeMap.remove

Removes an item by key. Returns the removed item if found, or E.init if not.

  1. E remove(K key)
    struct TreeMap(K, E, bool nogcIndexing = true, alias less = "a < b")
    @safe pure nothrow
    static if(E.stringof != "void")
    E
    remove
    (
    K key
    )
  2. alias remove = removeByElem

Meta