会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
重返科韵路
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2022年2月17日
函数形参类型与返回值类型
摘要: 参考: https://shaharmike.com/cpp/rvo/ https://www.zhihu.com/question/22941176 https://www.zhihu.com/question/534389744 注意,不探讨 const 1. 函数形参 1.1 实参、形参组合
阅读全文
posted @ 2022-02-17 10:04 重返科韵路
阅读(349)
评论(0)
推荐(0)
2022年2月10日
c++ 移动语义分析
摘要: 参考: https://www.jianshu.com/p/d19fc8447eaa https://isocpp.org/blog/2012/11/universal-references-in-c11-scott-meyers https://www.jianshu.com/p/b90d1091
阅读全文
posted @ 2022-02-10 13:44 重返科韵路
阅读(177)
评论(0)
推荐(0)
c++ const 语义分析
摘要: 参考: https://www.zhihu.com/question/499186365 https://www.zhihu.com/question/386434272 1. const 限定了什么 const 实际上有两层意思: 物理上的 constness 逻辑上的 constness 1.1
阅读全文
posted @ 2022-02-10 13:40 重返科韵路
阅读(103)
评论(0)
推荐(0)
2022年1月18日
c++ 继承与多态语法分析
摘要: 参考: https://juejin.cn/post/6857057314504081416 https://www.zhihu.com/question/389546003/answer/1194780618 https://www.zhihu.com/question/29251261/answ
阅读全文
posted @ 2022-01-18 10:50 重返科韵路
阅读(147)
评论(0)
推荐(0)
2022年1月14日
c++ copy elision (拷贝省略) 语义的汇编理解
摘要: 实验环境:os: centos8.5 / kernel: 4.18.0 / gcc: 8.5.0 / arch: x86-64 1. 函数参数的传递和参数的返回 我们知道,在 x86-64 linux 系统机器上,参数不超过 6 个时,优先使用 rdi, rsi, rdx, rcx, r8, r9
阅读全文
posted @ 2022-01-14 17:57 重返科韵路
阅读(60)
评论(0)
推荐(0)
2022年1月5日
栈、函数调用与系统调用
摘要: 参考: https://blog.csdn.net/lqt641/article/details/73002566 https://blog.csdn.net/yangkuanqaz85988/article/details/52403726 http://home.ustc.edu.cn/~hch
阅读全文
posted @ 2022-01-05 18:13 重返科韵路
阅读(791)
评论(0)
推荐(0)
2021年12月23日
Linux 内存管理简述
摘要: 参考: https://www.zhihu.com/question/24916947 https://www.cnblogs.com/vamei/p/9329278.html https://zhuanlan.zhihu.com/p/346892153 https://www.cnblogs.co
阅读全文
posted @ 2021-12-23 18:28 重返科韵路
阅读(310)
评论(0)
推荐(0)
2021年12月4日
Linux 文件 io 的原子性与 O_APPEND 参数
摘要: 参考: UNIX环境高级编程 第三版 实验环境:os: centos8.5 / kernel: 4.18.0 / gcc: 8.5.0 / arch: x86-64 示例内核代码版本:5.15.5 1. 文件 io 1.1 open() 系统调用 在进程/线程 struct task > struc
阅读全文
posted @ 2021-12-04 16:40 重返科韵路
阅读(969)
评论(0)
推荐(0)
上一页
1
2
3
4
公告