Multiple return values...

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Mar 9 22:30:05 PST 2012


On 3/9/12 9:35 PM, Robert Jacques wrote:
> On Fri, 09 Mar 2012 22:16:44 -0600, Andrei Alexandrescu
> <SeeWebsiteForEmail at erdani.org> wrote:
>> On 3/9/12 3:59 PM, Timon Gehr wrote:
>>> Notably, there is no convenient unpacking syntax. Walter does not merge
>>> the patches of Kenji Hara that would fix this because presumably he
>>> fears it could get in the way of a more general solution.
>>
>> This is because we need to think about that stuff to maximize its
>> generality.
>
> Was simply applying the unpacking rules to all types (i.e. structs,
> classes, etc) ever considered?

How would that work?

Andrei


More information about the Digitalmars-d mailing list