foreach
monarch_dodra via Digitalmars-d
digitalmars-d at puremagic.com
Thu Jun 12 13:04:25 PDT 2014
On Thursday, 12 June 2014 at 19:26:47 UTC, Nick Sabalausky wrote:
>
> FWIW: I think this can be viewed more as "Lifting undue
> restrictions".
For what it's worth, if any work is done on foreach, +1000 I
think we should tackle the "important" issues first, such as:
auto ref for foreach loops
https://issues.dlang.org/show_bug.cgi?id=4707
https://issues.dlang.org/show_bug.cgi?id=10541
using ref foreach parameters with std.range.zip is a no-op
Allow `ref` in `foreach` over range iff `front` returns by `ref`
https://issues.dlang.org/show_bug.cgi?id=11934
Once foreach is something with can work correctly and reliably,
then we can add the finishing touches (IMO)
More information about the Digitalmars-d
mailing list