T
Tooc
I have defined a class named Rectangle<typename T>.
How do I test for a Rectangle? I just want to know if an object is any type
of Rectangle.
My code compiles for typeid(Rectangle<>) only if I provide a default value
for the template argument - and this is not what I want!
tooc
How do I test for a Rectangle? I just want to know if an object is any type
of Rectangle.
My code compiles for typeid(Rectangle<>) only if I provide a default value
for the template argument - and this is not what I want!
tooc