Pergunta de entrevista da empresa MathWorks

What is a pure virtual function?

Resposta da entrevista

Sigiloso

4 de nov. de 2011

It's a function that is not given a definition and is set equal to 0. It is up to the class derived from the one containing the virtual function to give the function a definition. Also, a class with a virtual function cannot be instantiated.