How can i check that a type is a struct at compile time? I know i can test for a class like this:

static if(is(T == class))
{
    ...
}

But how to do the same thing for a struct?

Reply via email to