Associative arrays
Chris Piker
chris at hoopjump.com
Tue May 18 09:34:31 UTC 2021
On Tuesday, 18 May 2021 at 08:54:00 UTC, Mathias LANG wrote:
Thanks for the description, that was informative :)
> The following doesn't even compile:
> ```
> void main () nothrow
> {
> int[int] aa;
> foreach (k, v; aa) {}
> }
> ```
So basically I can use AAs, so long as I don't put them in
critical software since they are always going to throw. No
trouble, I can live with that, it's good to know that up front.
More information about the Digitalmars-d
mailing list