Pergunta de entrevista da empresa Morgan Stanley

Can you use template and virtual function in the same class?

Respostas da entrevista

Sigiloso

18 de fev. de 2011

The code may compile but there is no polymorphism working here.

1

Sigiloso

8 de jun. de 2010

yes, I tried it, we can combine them, the compile methods ran successfully