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

Imperatorn johan_forsberg_86 at hotmail.com
Mon Sep 28 07:15:27 UTC 2020


On Sunday, 27 September 2020 at 20:43:19 UTC, Per Nordlöw wrote:
> On Sunday, 27 September 2020 at 14:23:11 UTC, H. S. Teoh wrote:
>> [...]
>
> I believe it's high time we start thinking about detecting 
> these violations at compile-time. I recall it's in the spec 
> somewhere so we should start a deprecation process at least for 
> AAs.

Yes, this should be a compile-time error


More information about the Digitalmars-d-learn mailing list