Question d’entretien chez Ubisoft

Why do you have to use virtual destructor :D

Réponses aux questions d'entretien

Utilisateur anonyme

26 sept. 2016

Because your constructor used the base class so you must use the destructor that matches despite the declaration of using a subclass?

1

Utilisateur anonyme

9 sept. 2015

Because you'll lose your leg otherwise.