Multiple return values

Nick Sabalausky a at a.a
Tue Jan 3 15:59:20 PST 2012


"Manu" <turkeyman at gmail.com> wrote in message 
news:mailman.2114.1325632682.24802.digitalmars-d at puremagic.com...
> And those rules aren't really type aware... as far as I can tell it wont
> split the int/float/etc args into separate register types...
> Multiple return values via tuples are not really addressing the problem,
> and miss the point.
>

I realize this probably isn't quite the answer you want, but I bet you could 
probably create custom calling conventions in D via naked inline asm and 
metaprogramming. That could be an interesting exercise for anyone who wanted 
to try it.




More information about the Digitalmars-d mailing list