On Saturday, 18 January 2014 at 22:50:50 UTC, cmplx wrote:
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?
It seems that it's documented here, albeit not clearly:
http://dlang.org/declaration.html#AliasInitializer
I don't see any mention of it here:
http://dlang.org/declaration.html#alias
I recall there being some issues with alias this = identifier,
not sure if that's been resolved. Regardless, I think the
documentation at the latter link needs to be updated.