Tuple/TypeTuple etc.

QAston qaston at gmail.com
Fri Aug 16 11:07:47 PDT 2013


On Friday, 16 August 2013 at 16:28:29 UTC, H. S. Teoh wrote:
> I think a good start is to call them by different names. The 
> word
> "tuple" is just too overloaded right now, and using the same 
> term to
> refer to two incompatible things is just formula for endless 
> confusion.
> "Sequence" is OK, but risks confusion with std.range.sequence. 
> Is there
> a better word for it? Maybe an acronym -- CTS (compile-time 
> sequence)?
>
>
> T

Typetuple allows random access to elements, so maybe array is 
better than sequence. Compile-Time annotation is very nice as it 
explicitly states the usage and capabilities of the construct. 
Also - the acronym is already known thanks to CT-FE.


More information about the Digitalmars-d mailing list