function parameters: is it possible to pass byref ... while being optional at the same time ?

Adam Ruppe destructionator at gmail.com
Sat Jul 17 21:02:38 UTC 2021


On Saturday, 17 July 2021 at 20:49:58 UTC, someone wrote:
>    ref classTickerID robjTickerID

Why are you using ref here at all?

You probably shouldn't be using it. But if it is legitimately 
needed you can do a pointer instead of ref.




More information about the Digitalmars-d-learn mailing list