Is this a bug?

ag0aep6g via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Apr 15 15:28:46 PDT 2016


On 15.04.2016 20:55, Eric wrote:
>   13 class C : const (I!(J))

I think this const is ignored by the compiler.

>   15    F!(J) m;

A little tip: You can omit the parentheses of template instantiations 
when the argument is a single identifier. That is, `F!(J)` can be 
written as `F!J`.


More information about the Digitalmars-d-learn mailing list