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

Dukc ajieskola at gmail.com
Tue Aug 13 13:50:24 UTC 2019


On Sunday, 11 August 2019 at 14:52:08 UTC, Nick Treleaven wrote:
> void f(ref int i);
> void main(){
>     f([2][0]); //compiles
> }

Huh? What happens here?




More information about the Digitalmars-d mailing list