HashMap.opIndex

Indexing function that relies on the GC, and throws if no match found. Returns the found element if match found.

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

Meta