Aliasing lambdas
Peter Alexander
peter.alexander.au at gmail.com
Sun Jan 13 11:55:55 PST 2013
Is there any reason why this isn't allowed:
alias f = (x => x);
but this is:
template A(alias B) { alias A = B; }
alias f = A!(x => x);
???
More information about the Digitalmars-d
mailing list