When can the C++ compiler devirtualize a call?

6 pointsquuxplusone.github.io
lionkor43hrs