Skip to content

Commit

Permalink
Document that std::initializer_list is not always available.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
pcc committed Mar 3, 2014
1 parent dcf23dd commit c3835cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/CodingStandards.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c3835cc

Please sign in to comment.