Commit 24e0619a authored by Ray Kraesig's avatar Ray Kraesig
Browse files

Bug 1772856 - Add designated initializers to list of acceptable C++ features ...

Bug 1772856 - Add designated initializers to list of acceptable C++ features  r=firefox-build-system-reviewers,bholley,glandium  DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D148416
parent 35dc22ea
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -278,6 +278,10 @@ list of acceptable features is given below:
     - 7.0
     - 4.0
     - **No** (see notes)
   * - Designated initializers (C++20)
     - 8.0 (4.7)
     - 10.0 (3.0)
     - Yes [*sic*] (see notes)
   * - #pragma once
     - 3.4
     - Yes
@@ -324,6 +328,15 @@ have support for these functions.

Thread locals: ``thread_local`` is not supported on Android.

Designated initializers: Despite their late addition to C++ (and lack of
*official* support by compilers until relatively recently), `C++20's designated
initializers
<https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0329r4.pdf>`__ are
merely a subset of `a feature originally introduced in C99
<https://gcc.gnu.org/onlinedocs/gcc/Designated-Inits.html>`__ -- and this subset
has been accepted without comment in C++ code since at least GCC 4.7 and Clang
3.0.


C++ and Mozilla standard libraries
----------------------------------