Wait, what? What is AliasSeq?

Daniel N via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 21 14:26:22 PDT 2015


On Tuesday, 21 July 2015 at 16:54:54 UTC, H. S. Teoh wrote:
>
> Because, among other things, it auto-expands.
>
>
> T

1) .tupleof auto-expands and changing it at this point would 
cause epic breakage.(I also see no reason to.)

2) Even the tuple in std.typecons has a manual .expand property, 
i.e. it may not be auto-expanding but it reaffirms that expanding 
is a common operation on tuples.(the same is not true for arrays, 
lists, etc.)

3) At the risk of sounding like a broken record: Tuple is the 
poster-child of heterogeneous constructs.



More information about the Digitalmars-d mailing list