dynamic_cast should work, it is there for exactly that purpose.
It will return the pointer casted to your class or 0 if the object is not of the cast type.
Cheers,
_
dynamic_cast should work, it is there for exactly that purpose.
It will return the pointer casted to your class or 0 if the object is not of the cast type.
Cheers,
_
Durkin (13th June 2013)
You 're right, it does. The seg fault was my mistake.
Bookmarks