I would like to concentrate on what happens when we say delete ptr. I know that a destructor of our class is called and then the amount of space new allocated is reclaimed.
If our object has other pointers etc, would that be reclaimed as well or is it up to the definition of our constructor to do so?