摘要: 条款二 了解auto类型推断基础知识除了一处例外,auto的类型推断与template一样。存在一个直接的从template类型推断到auto类型推断的映射三类情况下的推断如下所示:// case 1const auto& rx = x; // rx -> int// case 2auto&& ur... 阅读全文
posted @ 2015-08-12 09:13 Azurewing 阅读(279) 评论(0) 推荐(0) 编辑