Document that std::initializer_list is not always available.
authorPeter Collingbourne <peter@pcc.me.uk>
Mon, 3 Mar 2014 19:54:42 +0000 (19:54 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Mon, 3 Mar 2014 19:54:42 +0000 (19:54 +0000)
Differential Revision: http://llvm-reviews.chandlerc.com/D2923

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202750 91177308-0d34-0410-b5e6-96231b3b80d8

docs/CodingStandards.rst

index fa7970221a0a928c820f60041d772a59bf92c92f..680747be79934fb15733dff8b5a521bf07dd7456 100644 (file)
@@ -153,6 +153,9 @@ 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.
 * 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
 
 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