How does a pointer to a Base class which initialized by a derived class can have *__vptr called the right virtual function?

前端 未结 0 1575
故里飘歌
故里飘歌 2020-12-04 22:30

Would someone please explain to me the bold parts?

I didn\'t get how come *__vptr which is in the Base portion of the class and dPtr has access to this point

相关标签:
回答
  • 消灭零回复
提交回复
热议问题