DIP 1022--foreach auto ref--Community Review Round 1

Dukc ajieskola at gmail.com
Sat Aug 10 08:24:12 UTC 2019


On Saturday, 10 August 2019 at 08:09:08 UTC, Dukc wrote:
> The problem I'm targeting is that currently the compiler will 
> not complain, if the user, when expecting to mutate range 
> elements, iterates by `ref` over foreach.

Meant: iterates by `ref` `foreach` over a range of rvalues



More information about the Digitalmars-d mailing list