摘要: # 继承关系中的构造函数,析构函数与虚函数一文全析 ## 1. 无虚析构函数的public继承 ```cpp #include #include using namespace std; class P{ public: P(){cout construct P! > construct C! > 阅读全文
posted @ 2023-08-31 11:45 石中火本火 阅读(27) 评论(0) 推荐(0) 编辑