Safe to remove AA elements while iterating over it via .byKeyValue?

Per Nordlöw per.nordlow at gmail.com
Mon Sep 28 09:41:02 UTC 2020


On Monday, 28 September 2020 at 07:15:27 UTC, Imperatorn wrote:
> Yes, this should be a compile-time error

Spec here: 
https://dlang.org/spec/statement.html#foreach_restrictions


More information about the Digitalmars-d-learn mailing list