On Monday, 3 November 2014 at 17:05:21 UTC, John Colvin wrote:
static if (is(typeof(T) == int))

should be

static if (is(T == int))


T is already a type.

I thought this was supposed to produce an error message rather than fail silently... I'm positive this used to be an error. Did it change?

Reply via email to