C++ : Does delete on a pointer to a subclass call the base class destructor?
C++ : Does delete on a pointer to a subclass call the base class destructor?
To Access My Live Chat Page,
On Google, Search for "hows tech developer connect"
As promised, I'm going to share a hidden feature with you.
This is a YouTube's feature which works on Desktop.
First, Ensure that the video is playing before proceeding.
After that, type the word 'awesome' on your keyboard.
Your YouTube progress bar will transform into a flashing rainbow.
Allow me to introduce myself briefly,
Howdy, my name's Delphi.
Let me aid you in resolving any queries you may have.
C++ : Does delete on a pointer to a subclass call the base class destructor?
I am happy to answer more specific questions, so please feel free to comment or chat with me.
Your input is appreciated, so please leave a comment below with your answer or insights to the answer.
Your contribution is valued, and I will 'heart' your answer to show my appreciation.
the a delete subclass a class destructor? Does pointer call base to : C++ on