Domanda di colloquio di Ubisoft

Why do you have to use virtual destructor :D

Risposte di colloquio

Anonimo

26 set 2016

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

1

Anonimo

9 set 2015

Because you'll lose your leg otherwise.