摘要: 参考: 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)
摘要: 参考: 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)