Force lvalue (`cast(ref)`)

Richard (Rikki) Andrew Cattermole richard at cattermole.co.nz
Wed Jan 22 09:02:14 UTC 2025


Why can we not make this "just work" without extra syntax?

I.e.

```d
void func(ref int);
func(2);
```



More information about the dip.ideas mailing list