[llvm] r202750 - Document that std::initializer_list is not always available.

Peter Collingbourne peter at pcc.me.uk
Mon Mar 3 11:54:42 PST 2014


Author: pcc
Date: Mon Mar  3 13:54:42 2014
New Revision: 202750

URL: http://llvm.org/viewvc/llvm-project?rev=202750&view=rev
Log:
Document that std::initializer_list is not always available.

Differential Revision: http://llvm-reviews.chandlerc.com/D2923

Modified:
    llvm/trunk/docs/CodingStandards.rst

Modified: llvm/trunk/docs/CodingStandards.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/CodingStandards.rst?rev=202750&r1=202749&r2=202750&view=diff
==============================================================================
--- llvm/trunk/docs/CodingStandards.rst (original)
+++ llvm/trunk/docs/CodingStandards.rst Mon Mar  3 13:54:42 2014
@@ -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.
+* ``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





More information about the llvm-commits mailing list