On 01/13/2013 08:55 PM, Peter Alexander wrote:
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); ???
No. It is a gratuitous grammar limitation.
On 01/13/2013 08:55 PM, Peter Alexander wrote:
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); ???
No. It is a gratuitous grammar limitation.