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

Dukc ajieskola at gmail.com
Thu Aug 8 12:44:23 UTC 2019


On Thursday, 8 August 2019 at 12:35:45 UTC, Exil wrote:
>
> Not sure if "foreach( ref" should be deprecated.

I'm not quite sure what you meant, but if you're afraid that the 
DIP will deprecate foreach-ref in whole, no. It will only 
deprecate foreach-ref with rvalues. Auto ref will work exactly as 
ref does now.




More information about the Digitalmars-d mailing list