On Sunday, 5 July 2020 at 21:06:32 UTC, Per Nordlöw wrote:
Is there a way to construct a custom written hash-table container (struct) from an AA-literal expression?

How about iterating the literal, e.g

---

    foreach (k,v; ["one":1, "two":2])
    {
        myCustomAA[k] = v;
    }

---

Reply via email to