ndoung
asked on
what is the C++ equivalent of JAVA instanceof ?
I have a pointer to a C++ base class object. I need to know what is the real class in order to do something.
In JAVA, we can use instanceof to check. I am looking for something equivalent in C++.
In JAVA, we can use instanceof to check. I am looking for something equivalent in C++.
There is no an equivalence of Java instanceof in C++.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.