Template constraints: opCmp and opUnary!"++"

Timon Gehr timon.gehr at gmx.ch
Fri Dec 20 14:06:29 PST 2013


On 12/20/2013 10:57 PM, Timon Gehr wrote:
>
> Most non-trivial templates that use is(typeof(...)) in the constraint
> can be broken. (In the sense that it is possible to instantiate them
> even though their body does not compile.)

Actually, it seems that the behaviour of DMD has changed in this 
respect. It does not seem to be an issue any longer.


More information about the Digitalmars-d-learn mailing list