HashCollection.opIndexUnary

Perform unary operation with value (initialized with .init if the key does not exist).

  1. IV opIndexUnary(AK k)
    struct HashCollection(K, V, bool ordered, bool multi)
    ref
    static if(haveIndexing)
    static if(haveValues)
    IV
    opIndexUnary
    (
    string op
    AK
    )
    (
    auto ref AK k
    )
    if (
    is(AK : K)
    )
  2. IV opIndexUnary(IK k)

Meta