Question d’entretien chez MathWorks

What is a pure virtual function?

Réponse à la question d'entretien

Utilisateur anonyme

4 nov. 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.