[Issue 14984] Make it illegal (or at least a warning) to modify the iteration variable in foreach

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Aug 30 09:27:05 PDT 2015


https://issues.dlang.org/show_bug.cgi?id=14984

--- Comment #3 from Marc Schütz <schuetzm at gmx.net> ---
@Kenji Hara:

Yes, I know that. My point is that it's too easy to forget to add `const`.

--


More information about the Digitalmars-d-bugs mailing list