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

Timon Gehr via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Jun 2 03:55:04 PDT 2015


On 06/02/2015 10:10 AM, rsw0x wrote:
> exactly what is the difference here?
>
> I have a rather large CTFE-generated TypeTuple in one of my structs in
> my project, and I can seemingly replace it with a Tuple with absolutely
> zero differences... except I compile about 60-70% slower.
>
> The tuple page is even confusing me
> http://dlang.org/tuple.html
>
>> A variable declared with a TypeTuple becomes an ExpressionTuple:
>> alias TL = Tuple!(int, long);
>
> is it using Tuple!(T...) and TypeTuple!(T...) interchangeably?

http://wiki.dlang.org/The_D_Programming_Language/Seq


More information about the Digitalmars-d-learn mailing list