+ 1

C++

destructors called when data is deleted ? why it called for retriving the deleted data ?

15th Jun 2018, 2:09 PM
Jamaluddin Huseinkhail
Jamaluddin Huseinkhail - avatar
1 Answer
+ 1
Destructors aren't called when data is deleted. Destructors are called to delete existing data.
15th Jun 2018, 2:47 PM
Jakub Stasiak
Jakub Stasiak - avatar