diff options
| author | Aaron Ballman <aaron@aaronballman.com> | 2015-03-04 23:17:31 +0000 |
|---|---|---|
| committer | Aaron Ballman <aaron@aaronballman.com> | 2015-03-04 23:17:31 +0000 |
| commit | 6ab161497a60e2c12fde66a618cf9ce061a7cb3c (patch) | |
| tree | ea3f3110bb115f19d4aeaf10aaa8496f89b986a4 /llvm/docs | |
| parent | e4c47f2e8b5a43f58e690b3312fb71c42c620c33 (diff) | |
| download | bcm5719-llvm-6ab161497a60e2c12fde66a618cf9ce061a7cb3c.tar.gz bcm5719-llvm-6ab161497a60e2c12fde66a618cf9ce061a7cb3c.zip | |
Initializer lists are supported in MSVC 2013. Since that's our minimum required version, we can move that to the list of acceptable C++11 features.
llvm-svn: 231313
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/CodingStandards.rst | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst index 59fbd72e9bf..f3b3ef28725 100644 --- a/llvm/docs/CodingStandards.rst +++ b/llvm/docs/CodingStandards.rst @@ -129,6 +129,7 @@ unlikely to be supported by our host compilers. * But not defaulted move constructors or move assignment operators, MSVC 2013 cannot synthesize them. +* Initializer lists: N2627_ .. _N2118: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html .. _N2439: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm @@ -152,6 +153,7 @@ unlikely to be supported by our host compilers. .. _N2242: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf .. _N2437: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf .. _N2346: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm +.. _N2627: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm .. _MSVC-compatible RTTI: http://llvm.org/PR18951 The supported features in the C++11 standard libraries are less well tracked, @@ -168,9 +170,6 @@ being aware of: * While most of the atomics library is well implemented, the fences are missing. Fortunately, they are rarely needed. * The locale support is incomplete. -* ``std::initializer_list`` (and the constructors and functions that take it as - an argument) are not always available, so you cannot (for example) initialize - a ``std::vector`` with a braced initializer list. * ``std::equal()`` (and other algorithms) incorrectly assert in MSVC when given ``nullptr`` as an iterator. |

