vptr p1 b_data vptr p2 c_data a_data 是否有vptr依赖于A,B,C中是否有虚函数.a或者b有虚函数 -> vptr p1;c有虚函数 -> vptr p2
点赞 2

相关推荐

牛客网
牛客网在线编程
牛客网题解
牛客企业服务