refInt = ref int: how to achieve this? or is this a bug?

Stanislav Blinov stanislav.blinov at gmail.com
Wed Jun 17 22:50:01 UTC 2020


On Wednesday, 17 June 2020 at 22:41:21 UTC, mw wrote:

> Here we are discussing how to write:
>
> -- f(pass by value) and
> -- f(pass by ref)
>
> in a simple and straight forward way.

f(T) {}
f(ref T) {}

¯\_(ツ)_/¯


More information about the Digitalmars-d mailing list