Template pred is true for pred!(pred!(pred)) but not for value "true"
Meta via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Mar 8 14:35:57 PDT 2015
On Sunday, 8 March 2015 at 21:17:31 UTC, Meta wrote:
> Urgh, I'm all messed up now. The results in the second case are
> correct, but the results in the first case are wrong, as
> !canBeAlias!true should be !false, not !true.
I also get the same results with __traits(compiles, { alias _ =
T[0]; }).
More information about the Digitalmars-d-learn
mailing list