Declaring Ref Variables Inside Function Calls
Andrei Alexandrescu
SeeWebsiteForEmail at erdani.org
Tue Mar 31 10:32:47 PDT 2009
Jarrett Billingsley wrote:
> 2009/3/30 dsimcha <dsimcha at yahoo.com>:
>> // How it works now:
>> uint foo;
>> string bar;
>> unpack(foo, bar) = someFunction();
>>
>> // vs. how I want it to work:
>> unpack(auto foo, auto bar) = someFunction();
>
> Cute, but uh, I'd much rather see tuples just be returnable.
They are.
Andrei
More information about the Digitalmars-d
mailing list