Skip to content

Commit c3835cc

Browse files
committed
Document that std::initializer_list is not always available.
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
1 parent dcf23dd commit c3835cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/CodingStandards.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,9 @@ being aware of:
153153
* While most of the atomics library is well implemented, the fences are
154154
missing. Fortunately, they are rarely needed.
155155
* The locale support is incomplete.
156+
* ``std::initializer_list`` (and the constructors and functions that take it as
157+
an argument) are not always available, so you cannot (for example) initialize
158+
a ``std::vector`` with a braced initializer list.
156159

157160
Other than these areas you should assume the standard library is available and
158161
working as expected until some build bot tells you otherwise. If you're in an

0 commit comments

Comments
 (0)