[Issue 5550] std.range.enumerate()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jun 25 04:19:32 PDT 2012


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



--- Comment #3 from bearophile_hugs at eml.cc 2012-06-25 04:21:59 PDT ---
See also Issue 8155

----------

enumerate and AA.byPair() are also handy when you need to count associative
array key-value pairs:

foreach (i, k, v; associativeArray.byPair.enumerate()) {...}

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