C#5 desiderata
Marianne Gagnon
auria.mg at gmail.com
Fri May 28 18:50:38 PDT 2010
> I think Walter said this can't be implemented :)
> The items alignment of function arguments used by D tuples is not fitting to return a struct. I have not understood the details of this thing, and in the end I don't care if returning a struct can decrease performance a bit...
>
well, it could just be sugar ;) e.g. :
(int, int) doFoo(int x, int y)
could perhaps automagically be re-written by the compiler as
int doFoo(int x, int y, out int z)
More information about the Digitalmars-d
mailing list