Converting array in to aliased tuple type.

aliak something at something.com
Mon Dec 25 15:03:08 UTC 2017


On Monday, 25 December 2017 at 14:08:08 UTC, Mengu wrote:
>
> since Point is a Tuple and does not have a constructor that 
> takes a list of integers (int[]), you should have a helper 
> function.

Aukay :(

I was kind of hoping for some magical D variadic alias template 
on Tuple or something that will just deconstruct the arguments in 
to tuple components.




More information about the Digitalmars-d-learn mailing list