[Issue 15357] std.algorithm.iteration.each should mirror the behavior of foreach.
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Thu Dec 22 16:41:10 PST 2016
https://issues.dlang.org/show_bug.cgi?id=15357
--- Comment #7 from greenify <greeenify at gmail.com> ---
> I think each should mirror the behavior of foreach.
I agree - renamed the issue accordingly.
> If we can return a tuple through a range interface that allows modifying elements by ref, then I think we could entirely deprecate lockstep in favor of zip.
As far as I understand: with DIP1000 in master we should be able to do so :)
--
More information about the Digitalmars-d-bugs
mailing list