Lowest price ever! Learn Generative AI for 48% less!
Get my discount+ 2
We can overload destructors ?
True
2 Answers
+ 3
In c++ you can't overload destructors. Because it's called automatically it doesn't take any arguments. So how do you want to overload it? The system wouldn't know which one is supposed to be called.
+ 1
OK.