摘要: 《Effective C++》第三版-6. 继承与面向对象设计(Inheritance and Object-Oriented Design) 目录条款32:确定你的public继承塑模出is-a关系(Make sure public inheritance models “is-a”)public继承的含义设计良好的继承关系is-a的例外条款33:避免遮掩继承而来的名称(Avoid hiding inherited names)作用域的隐 阅读全文
posted @ 2024-06-17 11:14 Roanapur 阅读(87) 评论(0) 推荐(0) 编辑