Multiple return values...

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Tue Mar 13 09:07:09 PDT 2012


On 3/13/12 10:48 AM, Manu wrote:
> float t;
> ...
> (myStruct.pos, t, _, int err) = intersectThings();

I actually find the scatter syntax better than this. Anyway, I hope 
you'll agree there's not much difference pragmatically.

Andrei




More information about the Digitalmars-d mailing list