Domanda di colloquio di Bloomberg

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

Risposta di colloquio

Anonimo

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.