--- Comment #3 from Andrei Alexandrescu <> ---
(In reply to Seb from comment #2)
> And a stripped down version of std.typecons.Tuple:
> > A better implementation would be to have the Tuple with named fields use 
> > the Tuple with no named fields as its only member variable; then, "alias 
> > this" needs to simply return a reference to that member.
> This is already done:

Nonono, we need to do this:

Tuple!(int, "x", int, "y") should have as its only state Tuple!(int, int). In
the form of a data member that is. Call that field impl. Then:

alias impl this;


Reply via email to