<div class="gmail_quote">On 10 March 2012 01:17, Timon Gehr <span dir="ltr"><<a href="mailto:timon.gehr@gmx.ch">timon.gehr@gmx.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 03/10/2012 12:02 AM, Manfred Nowak wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Manu wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm just talking about the ABI for returning multiple values, not<br>
chaining<br>
</blockquote>
<br>
Does this mean, that you want a special type of "function"? For example<br>
this would be disallowed statement: `auto result= f( g( parameters));',<br>
if `f' and `g' are functions returning multiple values?<br>
<br>
</blockquote>
<br></div>
This needs to work. Multiple return values should integrate with the existing language support for tuples.<br>
</blockquote><div><br></div><div>What should that do exactly? A function that returns multiple values is passed as an argument to another function... what exactly is fed to which arguments of the outer function?</div><div>
Describe how you see multiple return values working through tuples, while satisfying the issues I raise in my first couple of posts?</div></div>