Do I have to pass parameters with ref explicitly?
Ali Çehreli
acehreli at yahoo.com
Sun Apr 17 09:09:42 UTC 2022
On 4/17/22 01:45, Ali Çehreli wrote:
> In D, if it
> is an input to a function, then mark it as 'in' and the compiler will do
> some magic:
>
> https://dlang.org/spec/function.html#in-params
I should have remembered that there are some improvements coming for
-preview=in as reported by Mathias Lang and as relayed by Mike Parker here:
https://forum.dlang.org/post/zfmkiqwkkexeaohjsuru@forum.dlang.org
Ali
More information about the Digitalmars-d-learn
mailing list