[Issue 6652] foreach parameter with number range is always ref

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 13 04:00:08 PDT 2011


http://d.puremagic.com/issues/show_bug.cgi?id=6652



--- Comment #5 from bearophile_hugs at eml.cc 2011-09-13 03:59:49 PDT ---
(In reply to comment #4)
> https://github.com/D-Programming-Language/dmd/pull/377

> - I've double checked that a simple size_t index is optimized out if unaltered

I suggest you to check it fifteen more times, using 4 nested foreach, with some
code inside the bodies, with other data types (ubyte, short, ulong, real,
double, etc), etc.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list