Fork me on GitHub
摘要: 理解auto类型推断 "上一篇帖子" 中讲述了模板类型推断,我们知道auto的实现原理是基于模板类型推断的,回顾一下模板类型推断: template void f(ParamType param); 使用下面的函数调用: f(expr); 我们看到模板类型推断过程涉及到了模板template、函数f 阅读全文
posted @ 2019-03-30 17:58 HarlanC 阅读(7174) 评论(0) 推荐(2) 编辑