阅读背景:

指针内存表示和继承转换

来源:互联网 

I was playing around single/multiple inheritance when I noticed that the reinterpret cast works just as well as static cast when downcasting a pointer to an object higher up in the class hierarchy to a pointer to its underlying type. I was playing around single/multiple inheritanc




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: