> 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)
