Can anyone explain to me why this throws:
class Foo() { }
void main()
{
static if (is(Foo == class))
{
}
else
{
static assert(0);
}
}
Can anyone explain to me why this throws:
class Foo() { }
void main()
{
static if (is(Foo == class))
{
}
else
{
static assert(0);
}
}