会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
石中火本火
博客园
首页
新随笔
联系
订阅
管理
2023年8月31日
继承关系中的构造函数,析构函数与虚函数一文全析
摘要: # 继承关系中的构造函数,析构函数与虚函数一文全析 ## 1. 无虚析构函数的public继承 ```cpp #include #include using namespace std; class P{ public: P(){cout construct P! > construct C! >
阅读全文
posted @ 2023-08-31 11:45 石中火本火
阅读(39)
评论(0)
推荐(0)
编辑
公告