Question d’entretien chez Bloomberg

Is it possible to make a virtual static function in C++?

Réponse à la question d'entretien

Utilisateur anonyme

4 nov. 2011

No. Even if it was given some meaning, there's no way you'd even access that virtual functionality because static functions are accessed by ClassName::functionName(), so the function is definitely bound to the specific class it's in.