structs are now lvalues - what is with "auto ref"?

Minas Mina minas_mina1990 at hotmail.co.uk
Sat Dec 29 10:43:36 PST 2012


So when it will be fixed I will be able to write:

void foo(auto ref Vector3 v);

and it will pass copies or references depending on the situation?


More information about the Digitalmars-d-learn mailing list