Tuple/TypeTuple etc.

Dicebot public at dicebot.lv
Sat Aug 17 07:04:19 PDT 2013


On Saturday, 17 August 2013 at 13:55:10 UTC, John Colvin wrote:
>> And std.typecons.Tuple is completely different beast, it 
>> simply a template struct.
>
> Yes, as I said: It's a wrapper around an instantiation of a 
> type-tuple.

By that logic every single possible template with variadic 
parameters is wrapper around instantiation of type tuple. 
std.typecons.Tuple does not store expression tuple inside so I 
don't think it is legal to call it a "wrapper". Simply 
pseudo-anonymous struct with pseudo-anonymous fields.


More information about the Digitalmars-d mailing list