D Logo and Slogan

Dicebot public at dicebot.lv
Sat Feb 1 10:44:40 PST 2014


On Saturday, 1 February 2014 at 17:38:44 UTC, Jesse Phillips 
wrote:
> alias this = foo;
>
> This is new syntax, has some edge cases which fail and intended 
> to replace the old typedef style
>
> alias Type NewName;
>
> Such that it look more like variable assignment:
>
> alias NewName = Type;

This syntax was intended to only be used for normal aliases, not 
"alias this", and was supposed to be removed for latter.


More information about the Digitalmars-d mailing list