D Logo and Slogan
Jesse Phillips
Jesse.K.Phillips+D at gmail.com
Sat Feb 1 09:38:42 PST 2014
On Saturday, 1 February 2014 at 16:33:19 UTC, Asman01 wrote:
> On Saturday, 1 February 2014 at 16:14:59 UTC, Martin Cejp wrote:
>> On Saturday, 1 February 2014 at 03:25:33 UTC, Mike wrote:
>>> alias {D Logo} this;
>>
>> Outdated syntax. You should use
>> alias this = {D Logo};
>> instead.
>
> Isn't this syntax discouraged/depracted now?
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;
More information about the Digitalmars-d
mailing list