Pergunta de entrevista da empresa Ubisoft

Why do you have to use virtual destructor :D

Respostas da entrevista

Sigiloso

26 de set. de 2016

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

1

Sigiloso

9 de set. de 2015

Because you'll lose your leg otherwise.