+ 1

I didn't know that the destructor could be called explicitly...

I didn't know that the destructor could be called explicitly. Now I know that, but I have another problem: why is it called secondary when the program is done? Why is the object destroyed again? What is destroyed at the second time? Is the memory location cleared twice? https://code.sololearn.com/cjSU1k9uJ9Ie/?ref=app

16th Mar 2020, 3:57 PM
Сергей Куликов
Сергей Куликов - avatar
1 ответ
+ 2
~ swim ~ , thanks
16th Mar 2020, 6:53 PM
Сергей Куликов
Сергей Куликов - avatar