C
Christopher
If I have an abstract class A, and class B derives from A,
implementing A's pure virtual methods. What is supposed to happen when
somewhere in the code I reinterpret_cast a void * to a A *, then call
one of the pure virtual methods?
It seems to be aborting in my case. I want it to call the method
implemented in class B. Am I doomed to fail at that endevour?
I have don't think I have a choice but to reinterpret cast, because MS
loves passing around void pointers.
implementing A's pure virtual methods. What is supposed to happen when
somewhere in the code I reinterpret_cast a void * to a A *, then call
one of the pure virtual methods?
It seems to be aborting in my case. I want it to call the method
implemented in class B. Am I doomed to fail at that endevour?
I have don't think I have a choice but to reinterpret cast, because MS
loves passing around void pointers.