I have class B that inherits from A. class A { }; class B : public A { }; And I have three objects. A* …
There are many reasons not to use typeid. Other than for using members of type_info (implementation defined behavior), it …