摘要: 条款三 了解decltype基础知识提供一个变量或者表达式,decltype会返回其类型,但是返回的内容会使人感到奇怪。以下是一些简单的推断类型:const int i = 0; // decltype(i) -> const intbool f(const Widget& w); // declt... 阅读全文
posted @ 2015-08-13 16:41 Azurewing 阅读(219) 评论(0) 推荐(0) 编辑