Hoenir wrote:
>> That gets you a pointer. You don't need & to pass a value type to a
>> 'ref' parameter.
>
> No I meant the argument passing:
>
> void foo(Struct& S)
> {...}
In D that's written:
void foo(ref Struct S)
{...}
And called like:
Struct s;
foo(s);
--bb