Why are virtual functions handled at runtime?

Viewed 880

Surely the compiler is smart enough to deduce exactly what function you want for some cases, yet how come other cases require run-time support?

4 Answers
Related