[llvm] r202750 - Document that std::initializer_list is not always available.
peter at pcc.me.uk
Mon Mar 3 11:54:42 PST 2014
Date: Mon Mar 3 13:54:42 2014
New Revision: 202750
Document that std::initializer_list is not always available.
Differential Revision: http://llvm-reviews.chandlerc.com/D2923
--- 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