[Issue 1553] foreach_reverse is allowed for delegates

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jul 1 19:37:06 PDT 2011


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


Jonathan M Davis <jmdavisProg at gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg at gmx.com


--- Comment #8 from Jonathan M Davis <jmdavisProg at gmx.com> 2011-07-01 19:32:08 PDT ---
But why couldn't a delegate be written for reverse iteration? And if it does
exactly the same thing for both foreach and foreach_reverse, I don't really see
the problem. Granted, it may be a bit weird, but I don't see the bug.

Though truth be told, I've been wondering whether foreach_reverse is actually
supposed to be sticking around, given the general move towards ranges and the
fact that foreach_reverse isn't actually mentioned in TDPL (at least, it's not
in the index).

-- 
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