Is remove safe using foreach

Per Nordlöw per.nordlow at gmail.com
Tue Dec 13 11:23:17 UTC 2022


On Tuesday, 13 December 2022 at 11:22:35 UTC, Per Nordlöw wrote:
> IRC, the specs says that it's an error to modify a foreach 
> aggregate but the compiler curretly doesn't diagnose it.

I believe it should.


More information about the Digitalmars-d-learn mailing list