[PATCH] Document that std::initializer_list is not always available.

Peter Collingbourne peter at pcc.me.uk
Mon Mar 3 00:36:25 PST 2014

Hi chandlerc,



Index: docs/CodingStandards.rst
--- docs/CodingStandards.rst
+++ docs/CodingStandards.rst
@@ -153,6 +153,9 @@
 * 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.
 Other than these areas you should assume the standard library is available and
 working as expected until some build bot tells you otherwise. If you're in an
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2923.1.patch
Type: text/x-patch
Size: 713 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140303/bee008d2/attachment.bin>

More information about the llvm-commits mailing list