Original Post
Hi. I just wanted to know to determine if an object is one of a particular template. Example:
class a
{
};
template<class T> class b : class a
{
};
In this case I would want to know if a pointer to an object of type a is actually a pointer to an object of type b. But as far as I can see you cant use a* ObjectOfTypeA .... typeid(*ObjectOfTypeA) == typeid(b) because you need to specify a class template parameter. Anyway, I'm not really sure about any of this - Even if you can have a template class inherit from a non-template class. Thanks in advance.