alias have new syntax?

bearophile bearophileHUGS at lycos.com
Sat Jan 18 15:00:10 PST 2014


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


More information about the Digitalmars-d mailing list