StringMap.opIndexAssign

Complexity: O(log(s)) (exist) or O(n) (not exist), where s is the count of the strings with the same length as they key.

  1. T opIndexAssign(R value, string key)
  2. T opIndexAssign(T value, string key)
    struct StringMap(T, U = uint)
    ref @trusted pure nothrow
    T
    opIndexAssign
    ()
    (,
    string key
    )
    if (
    isMutable!T &&
    !__traits(hasMember, T, "opPostMove")
    &&
    __traits(isUnsigned, U)
    )

Meta