How does virtual method invocation work in C++?

前端 未结 4 1511
隐瞒了意图╮
隐瞒了意图╮ 2020-11-30 14:38

How does Virtual Method Invocation work in C++?

4条回答
  •  醉酒成梦
    2020-11-30 15:02

    Through virtual tables.

    Read this article, http://en.wikipedia.org/wiki/Virtual_table.

    I could explain it here, but the wikipedia does a better job than I could.

提交回复
热议问题