HashCollection.opIndexAssign

Allows writing to ordered sets by index. The total number of elements never changes as a result of such an operation - a consequence of which is that if multi==false, changing the value to one that's already in the set is an error.

  1. IV opIndexAssign(AV v, AK k)
  2. IV opIndexAssign(IV v, IK k)
    struct HashCollection(K, V, bool ordered, bool multi)
    ref
    static if(haveIndexing)
    static if(!(haveValues))
    IV
    opIndexAssign
    ()
    (
    auto ref IV v
    ,
    auto ref IK k
    )

Meta