Child is not abstract class, also desturctor delete every member on call without any char in it, if im wrong, how can my Parent be deleted on second deletion call?
Also Im using Qt so if you know some library, I test QSharedPointer and that didnt work :/
> Child is not abstract class
¿then why are you storing pointers?
> also desturctor delete every member on call without any char in it
~Child() is empty, it deletes nothing.
I don't understand what you mean with `without any char in it'
> if im wrong, how can my Parent be deleted on second deletion call?
The code that you posted is not deleting any `Parent' object