Is this template constraint a bug?

Eric via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu May 12 09:12:49 PDT 2016


>
> Yes, it's a bug. Please file an issue.
>
> Meanwhile try this workaround:
> class A(T)
> {
>   static assert(is(T : A!T), "...");
> }

Bug report filed, and thanks for the workaround.

-Eric


More information about the Digitalmars-d-learn mailing list