Verify tuple is a tuple of class objects?

Andrej Mitrovic andrej.mitrovich at gmail.com
Fri Feb 18 13:55:40 PST 2011


Can anyone explain to me why this throws:

class Foo() { }
void main()
{
    static if (is(Foo == class))
    {
    }
    else
    {
        static assert(0);
    }
}


More information about the Digitalmars-d-learn mailing list