Top "Typeid" questions

Checking the object type in C++11

I have class B that inherits from A. class A { }; class B : public A { }; And I have three objects. A* …

c++ c++11 rtti typeid
When is using 'typeid' the best solution?

There are many reasons not to use typeid. Other than for using members of type_info (implementation defined behavior), it …

c++ typeid
Readable form of typeid?

Is there a compiler out there that returns the name of a type in a readable fashion (or library providing …

c++ c++11 typeid
Why is usage of the typeid keyword bad design?

I have heard a lot of people say any usage of typeid is bad design, yet to me it seems …

c++ typeid
How does typeid work and how do objects store class information?

http://en.wikipedia.org/wiki/Typeid This seems to be a mystery to me: how does a compiler stores information …

c++ typeid
Get type of variable

If I understand correctly, typeid can determine the actual type in polymorphism, while typeof cannot. Is it also true that …

c++ types typeof typeid