HashMap.opIndex

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

  1. E opIndex(K key)
    struct HashMap(K, E, alias hashFunc = defaultHash!K, alias less = "a < b")
    @nogc @safe pure nothrow
    static if(nogcIndexing)
    E
    opIndex
    (
    K key
    )
  2. E opIndex(HashType key)
  3. E opIndex(K key)
  4. E opIndex(HashType key)

Meta