[Issue 10009] foreach_reverse and AA.byKey/byValue
    d-bugmail at puremagic.com 
    d-bugmail at puremagic.com
       
    Mon Apr 29 15:49:26 PDT 2013
    
    
  
http://d.puremagic.com/issues/show_bug.cgi?id=10009
bearophile_hugs at eml.cc changed:
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc
--- Comment #2 from bearophile_hugs at eml.cc 2013-04-29 15:49:24 PDT ---
(In reply to comment #1)
> I think foreach_reverse was only ever meant to be used with arrays (and is
> scheduled for deprecations), for ranges you can use retro() from std.algorithm.
I have hundreds of usages of foreach_reverse in my D2 codebase. You aren't
going to deprecate it. retro() is not nearly as efficient for arrays.
-- 
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