N
Neo
Hi Friends,
I have a question about RTTI.
1) In C++ we have vptr pointing to vtables which helps to make use of
pointer as polymorphic entities.
2) Without knowing object type I can call methods of object using
those pointers.
So in which case RTTI is needed? ( Why I need to know my object
type?)
Regards,
Neo
I have a question about RTTI.
1) In C++ we have vptr pointing to vtables which helps to make use of
pointer as polymorphic entities.
2) Without knowing object type I can call methods of object using
those pointers.
So in which case RTTI is needed? ( Why I need to know my object
type?)
Regards,
Neo