Alternatives
Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
How to quickly check whether C++ Template Instances have the same parameters
How to quickly check whether C++ Template instances have the same parameters
If you're using templates already, and are willing to adapt your class definitions, then this should work:template class BaseClass {public: virtual bool equals(T* other) = 0;};template class ChildClass : public BaseClass > {public: typedef...
5 Feb 2012Sebastian Krysmanski 4 alternatives
How to check whether two template instances of a C++ class have the same template parameters without using dynamic_cast
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.