October 17, 2016 Re: Range violation with AAs | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Monday, 17 October 2016 at 19:10:54 UTC, Basile B. wrote:
> Just a question, maybe off topic, does this work:
>
> unittest
> {
> alias Key = string;
> alias A = Array!int;
> A[Key] x;
> x["a"] = [0];
> }
>
> ?
No, that works.
Thanks for your interest.
|
Copyright © 1999-2021 by the D Language Foundation