Bloomberg Interview Question

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

Interview Answer

Anonymous

Nov 4, 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.