alias A = B; syntax

stas stasoid at yahoo.com
Mon Oct 15 20:00:56 PDT 2012


For me syntax alias int Int; seems unnatural.
I'd love to write
alias Int = int;
alias fptr = void(int)*;

This looks much more readable for me and harmonized with
int x = 0;
template T(alias A = Object) {...}

Does anybody share this opinion?
Any chance this syntax goes into D someday?


More information about the Digitalmars-d mailing list