StringMap.this

Initialize the associtave array with default value.

  1. this(typeof(null) aa)
    struct StringMap(T, U = uint)
    @safe pure nothrow @nogc
    this
    ()
    (
    typeof(null) aa
    )
    if (
    isMutable!T &&
    !__traits(hasMember, T, "opPostMove")
    &&
    __traits(isUnsigned, U)
    )
  2. this(T[string] aa)
  3. this(string[] keys, T[] values)

Examples

Usefull for default funcion argument.

StringMap!int map = null; //

Meta