DIP54 : revamp of Phobos tuple types

Timon Gehr timon.gehr at gmx.ch
Sun Dec 22 18:42:00 PST 2013


On 12/23/2013 03:28 AM, Dicebot wrote:
> On Monday, 23 December 2013 at 01:53:57 UTC, Timon Gehr wrote:
>> How is this going to be implemented? In a similar way as this?:
>> https://d.puremagic.com/issues/show_bug.cgi?id=11804
>
> Without `alias this` part (that would destroy "no auto expansion" part

No.

> unless I miss something).

std.typecons.Tuple also uses alias this.

> Also I am still uncertain about implementing
> it as templated struct or just raw template - both have own merits and
> flaws, will make better comparison in process.

I think alias this is the only way to use the static index operator.


More information about the Digitalmars-d mailing list