dimanche 22 février 2015

How to create a destructor for a class


I see that for many classes the destructor is empty. However, this is not the case for all. Is there a rule on when we need to write something inside the destructor? If all our variables in the class are static, do we always just need an empty destructor?




Aucun commentaire:

Enregistrer un commentaire