instanceof() in java to C++

I am now programming a class with objects such that the objects won't touch each other.
I have taken Java programming language and my question is this:

What is the equivalent of instanceof() in java to C++?


Thanks.
dynamic_cast
Topic archived. No new replies allowed.