[Issue 5550] std.range.enumerate()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 17 02:19:48 PST 2014


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



--- Comment #16 from bearophile_hugs at eml.cc 2014-01-17 02:19:38 PST ---
(In reply to comment #15)

> Maybe it's possible in the current language to implement a
> `RefTuple` or something, but it's outside the scope of `enumerate`.

Even if a RefTuple will be implemented in Phobos, I think you will not be able
to retrofit enumerate() to use it, because that will change the API of
enumerate() :-(

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


More information about the Digitalmars-d-bugs mailing list