C++ 关键字: decltype
(自 C++11 起)
来自 cppreference.cn
[编辑] 用法
(自 C++14 起) |
[编辑] 注释
特性测试 宏 | 值 | Std | 特性 |
---|---|---|---|
__cpp_decltype |
200707L |
(C++11) | decltype
|
__cpp_decltype_auto |
201304L |
(C++14) | 普通函数的返回类型推导 |
[编辑] 参见
-
auto
(auto
占位符类型说明符)