Multiple return values...

Manu turkeyman at gmail.com
Fri Mar 9 16:00:23 PST 2012


On 10 March 2012 01:17, Timon Gehr <timon.gehr at gmx.ch> wrote:

> On 03/10/2012 12:02 AM, Manfred Nowak wrote:
>
>> Manu wrote:
>>
>>  I'm just talking about the ABI for returning multiple values, not
>>> chaining
>>>
>>
>> Does this mean, that you want a special type of "function"? For example
>> this would be disallowed statement: `auto result= f( g( parameters));',
>> if `f' and `g' are functions returning multiple values?
>>
>>
> This needs to work. Multiple return values should integrate with the
> existing language support for tuples.
>

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?
Describe how you see multiple return values working through tuples, while
satisfying the issues I raise in my first couple of posts?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20120310/d373e535/attachment.html>


More information about the Digitalmars-d mailing list