[Issue 8155] Deprecate std.range.lockstep
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jun 28 13:57:45 PDT 2013
http://d.puremagic.com/issues/show_bug.cgi?id=8155
--- Comment #11 from bearophile_hugs at eml.cc 2013-06-28 13:57:42 PDT ---
(In reply to comment #10)
> Thanks for the useful hint :-) In fact in the general case where I discovered
> this issue, the use case was more,
>
> foreach(i, ref x; lockstep(arrIndex, arr1))
> x = i;
>
> ... where arrIndex does not _necessarily_ contain the sequence 0, 1, 2, 3, 4,
> ...
Such cases are better solved using the copy() algorithm.
--
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