虚继承: 人 / \ 工人 农民 \ / 农民工 使用虚(virtual)继承,防止"农民工"中有两个"人"的实例
C++之虚拟继承
猜你喜欢
转载自www.cnblogs.com/xjyxp/p/11239665.html
今日推荐
周排行