TypeTuple!(T...) vs Tuple!(T...)

anonymous via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 2 04:51:56 PDT 2015


On Tuesday, 2 June 2015 at 09:34:28 UTC, Ali Çehreli wrote:
> On 06/02/2015 01:10 AM, rsw0x wrote:
[...]
>> The tuple page is even confusing me
>> http://dlang.org/tuple.html
[...]
>
> Tuple can hold only values, TypeTuple can hold types as well. 
> Tuple can be created at run time, TypeTuple is a compile-time 
> concept.

You're using the phobos names here, i.e. `std.typecons.Tuple` and 
`std.typetuple.TypeTuple`. The article doesn't.


More information about the Digitalmars-d-learn mailing list