会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
kangobs
微信公众号:益言汤 微信小程序:高校开学时间、Gain、SmileSign
博客园
首页
新随笔
联系
订阅
管理
03 2023 档案
侯捷C++ (内存管理)
摘要:第一讲 primitives 第二讲 malloc/free 第三讲 std::allocator 第四讲 other allocators 第五讲 loki::allocator
阅读全文
posted @
2023-03-06 17:11
kangobs
阅读(85)
评论(0)
推荐(0)
C++ Primer中级(续)
摘要:14.转换操作符 转换函数 operator int() const; 注意: 1.必须是成员函数 2.不能指定返回类型 3.形参表必须是空的 4.必须显式地返回一个指定类型的值 5.不应该改变被转换对象,通常定义为const #include <iostream> #include <string
阅读全文
posted @
2023-03-02 17:02
kangobs
阅读(35)
评论(0)
推荐(0)
公告