diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2014-03-03 19:54:42 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2014-03-03 19:54:42 +0000 |
commit | c3835ccef9c8d4d63ba2ec5c7c6c4cb18ee46d49 (patch) | |
tree | 5a1544163f444f07916247327ddca538515ce5b9 /docs | |
parent | dcf23ddbcbf0b28770ecc41696faf98ab408a6ec (diff) | |
download | llvm-c3835ccef9c8d4d63ba2ec5c7c6c4cb18ee46d49.tar.gz llvm-c3835ccef9c8d4d63ba2ec5c7c6c4cb18ee46d49.tar.bz2 llvm-c3835ccef9c8d4d63ba2ec5c7c6c4cb18ee46d49.tar.xz |
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
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CodingStandards.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst index fa7970221a..680747be79 100644 --- a/docs/CodingStandards.rst +++ b/docs/CodingStandards.rst @@ -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 |