TreeMap.opIndex

@nogc capable indexing. Returns the found element if match found. Returns E.init if match not found.

  1. E opIndex(K key)
    struct TreeMap(K, E, bool nogcIndexing = true, alias less = "a < b")
    @nogc @safe pure nothrow
    static if(E.stringof != "void")
    static if(nogcIndexing)
    E
    opIndex
    (
    const K key
    )
  2. E opIndex(K key)
  3. K opIndex(T key)
  4. K opIndex(T key)

Meta