Tuple unpacking syntax [Was: Re: Multiple return values...]

RivenTheMage riven-mage at id.ru
Wed Mar 14 05:41:43 PDT 2012


On Wednesday, 14 March 2012 at 02:33:29 UTC, Kevin Cox wrote:
> Kind of unrelated but I think that it is important to have a 
> way to ignore
> values also.  Leaving them bank would sufice.
>
> (int i,,float f) = intBoringFloat();

or

(int i, null, float f) = intBoringFloat();

or

(int i, void, float f) = intBoringFloat();


More information about the Digitalmars-d mailing list