StringMap.toAA

Converts the associtave array to a common Dlang associative array.

Complexity: O(n).

  1. T[string] toAA()
    template toAA()
    const
    static if(__traits(compiles, (ref const T a)))
    T[string]
    toAA
    ()
    ()
  2. T[string] toAA()
  3. const(T)[string] toAA()

Members

Functions

toAA
T[string] toAA()
toAA
T[string] toAA()
toAA
const(T)[string] toAA()

Examples

StringMap!int map = ["k": 1];
int[string] aa = map.toAA;
assert(aa["k"] == 1);

Meta