Checking if something is a template specialization?

Sean Eskapp eatingstaples at gmail.com
Thu Feb 17 18:02:51 PST 2011


If I have

class Bar(T)
{
}

void foo(Y)()
{
   ...
}

Is there a way to check inside foo() that Y is in some way an instantiation of
Bar? Is there a way to find WHICH instantiation it is?


More information about the Digitalmars-d-learn mailing list