alias have new syntax?
Nicolas Sicard
dransic at gmail.com
Sun Jan 19 00:53:09 PST 2014
On Saturday, 18 January 2014 at 23:00:11 UTC, bearophile wrote:
> cmplx:
>
>> During the study D, I stumbled upon this design
>> alias myInt = int;
>> but the specification says nothing about such use alias. Is
>> the syntax has been changed?
>
> Yes, it's a recent very small syntax improvement. Eventually I
> hope the older syntax will be deprecated. The old syntax is
> still used for the "static this" in structs.
>
> Bye,
> bearophile
You meant "alias this".
More information about the Digitalmars-d
mailing list