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)
    struct StringMap(T, U = uint)
    ref @trusted pure nothrow
    T
    opIndexAssign
    (
    R
    )
    (
    auto ref R value
    ,
    string key
    )
    if (
    isMutable!T &&
    !__traits(hasMember, T, "opPostMove")
    &&
    __traits(isUnsigned, U)
    )
  2. T opIndexAssign(T value, string key)

Meta