[Issue 5550] std.range.enumerate()

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jan 17 02:22:24 PST 2014


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



--- Comment #17 from Jakob Ovrum <jakobovrum at gmail.com> 2014-01-17 02:22:20 PST ---
(In reply to comment #16) 
> 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() :-(

Depending on how compatible `Tuple` and `RefTuple` are, it may just be an
additive change.

However, many other ranges share this problem, so fixing it just for
`enumerate` is not a big win.

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