D
dan
Hi All,
I've a question regarding function pointer and destructor.
Is it possible to create a typedef param (*myDestructorPointer)(), so
that I can assign
object->~myClassType() to my function pointer variable?
Definitely I have a proxy class, which can wrap several data types
from other libraries, but this data type can have destructor as
protected so I can't
compile if I use delete keyword to destroy wrapped object. I don't
know if other strategies exist
thank you, cheers,
w
I've a question regarding function pointer and destructor.
Is it possible to create a typedef param (*myDestructorPointer)(), so
that I can assign
object->~myClassType() to my function pointer variable?
Definitely I have a proxy class, which can wrap several data types
from other libraries, but this data type can have destructor as
protected so I can't
compile if I use delete keyword to destroy wrapped object. I don't
know if other strategies exist
thank you, cheers,
w