Testing implicit conversion to template instance with is() expression

via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Mar 15 13:31:38 PDT 2015


On Sunday, 15 March 2015 at 18:53:33 UTC, Nicolas Sicard wrote:
> Can be reduced to:
> struct Foo(int i) {}
> alias Foo1 = Foo!1;
> static assert(is(Foo!2 == Foo1!T, T...)); // OK
>
> I think it's another bug.

Right, I've filed another report:
https://issues.dlang.org/show_bug.cgi?id=14290


More information about the Digitalmars-d-learn mailing list