Make a type tuple from an array
John Colvin via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sat Apr 11 00:18:22 PDT 2015
On Friday, 10 April 2015 at 22:55:23 UTC, Nordlöw wrote:
> On Friday, 10 April 2015 at 15:36:42 UTC, John Colvin wrote:
>> if (TL.length == 1 && isInputRange!(typeof(TL[0])))
>
> Why not use isStaticArray instead of isInputRange here?
Because that would be completely different. Static arrays aren't
even input ranges...
More information about the Digitalmars-d-learn
mailing list