[D1,__traits] D1 has __traits?

%u e at ee.com
Fri Oct 22 11:57:12 PDT 2010


http://www.digitalmars.com/d/1.0/template.html
..
assert(__traits(isRef, x[i]));
..
static assert(!__traits(compiles, min(3, y) = 10));

These won't compile with my D1 :(


More information about the Digitalmars-d-learn mailing list