多种编译器对C++17的支持
From KlayGE
Revision as of 02:39, 27 June 2015 by Gongminmin (Talk | contribs)
C++17核心语言功能
功能 | 提案 | MSVC | GCC | ICC | Clang | 替代方案 |
---|---|---|---|---|---|---|
static_assert with no message | N3928 | No | No | No | 3.5 | C++11's static_assert |
Disabling trigraph expansion by default | N4086 | 12.0 | No | No | 3.5 | |
typename in a template template parameter | N4051 | 14.0 | No | No | 3.5 | |
New auto rules for direct-list-initialization | N3922 | 14.0 | No | No | No | |
Fold expressions | N4295 | No | No | No | 3.6 | |
Attributes for namespaces and enumerators | N4266 | 14.0 | No | No | No | |
u8 character literals | N4267 | 14.0 | No | No | 3.6 | |
Nested namespace definition | N4230 | No | No | No | 3.6 | |
Attributes for namespaces and enumerators | N4266 | No | No | No | 3.6 | |
Allow constant evaluation for all non-type template arguments | N4268 | No | No | No | 3.6 |