How to check if the obj is actually YourClass instance, but not YourClass inherited classes instance?Code:void test(YourClass *obj);
Should we use RTTI here?
Thanks in advance. :-D
How to check if the obj is actually YourClass instance, but not YourClass inherited classes instance?Code:void test(YourClass *obj);
Should we use RTTI here?
Thanks in advance. :-D
Just GET it OFF out my mind!!