[wwwdocs] Add some missing C++17 features

Jakub Jelinek jakub@redhat.com
Mon Sep 26 16:40:00 GMT 2016


Hi!

The following patch adds some missing C++1z features to the table (wording
from
https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations#recs.cpp17
except for P0386R2 which is too new for that (Jon, can you look up the
feature test macro if any from newer SD-6 draft?).
Dunno what to do with P0400R0 that clang cxx_status.html lists too.

My understanding is that N4051 has been implemented with
2014-07-25  Edward Smith-Rowland  <3dw4rd@verizon.net>
        
        Implement N4051 - Allow typename in a template template parameter
P0002R1 with
2016-09-14  Marek Polacek  <polacek@redhat.com>

        * typeck.c (cp_build_unary_op): Diagnose incrementing boolean
        expressions.  Tweak an error message.
and P0061R1 with
2014-10-01  Edward Smith-Rowland  <3dw4rd@verizon.net>

        Implement SD-6: SG10 Feature Test Recommendations
        * internal.h (lexer_state, spec_nodes): Add in__has_include__.

Ok for wwwdocs?

Index: cxx-status.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/projects/cxx-status.html,v
retrieving revision 1.21
diff -u -p -r1.21 cxx-status.html
--- cxx-status.html	26 Sep 2016 15:56:46 -0000	1.21
+++ cxx-status.html	26 Sep 2016 16:29:47 -0000
@@ -102,6 +102,18 @@
       <td> __cpp_static_assert >= 201411 </td>
     </tr>
     <tr>
+      <td>New Rules for auto deduction from braced-init-list</td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n3922.html">N3922</a> </td>
+      <td class="unsupported">No</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>Allow typename in a template template parameter</td>
+      <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4051.html">N4051</a> </td>
+      <td class="supported">5</td>
+      <td></td>
+    </tr>
+    <tr>
       <td> [[fallthrough]] attribute </td>
       <td><a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0188r1.pdf">P0188R1</a></td>
       <td class="supported">7</td>
@@ -226,6 +238,42 @@
       <td class="unsupported">No</td>
       <td>__cpp_structured_bindings >= 201606</td>
     </tr>
+    <tr>
+      <td>Remove Deprecated Use of the register Keyword</td>
+      <td><a href="http://wg21.link/p0001">P0001R1</a> </td>
+      <td class="unsupported">No</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>Remove Deprecated operator++(bool)</td>
+      <td><a href="http://wg21.link/p0002">P0002R1</a> </td>
+      <td class="supported">7</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>Make exception specifications be part of the type system</td>
+      <td><a href="http://wg21.link/p0012">P0012R1</a> </td>
+      <td class="unsupported">No</td>
+      <td>__cpp_noexcept_function_type >= 201510</td>
+    </tr>
+    <tr>
+      <td>__has_include for C++17</td>
+      <td><a href="http://wg21.link/p0061">P0061R1</a> </td>
+      <td class="supported">5</td>
+      <td></td>
+    </tr>
+    <tr>
+      <td>Rewording inheriting constructors (core issue 1941 et al)</td>
+      <td><a href="http://wg21.link/p0136">P0136R1</a> </td>
+      <td class="unsupported">No</td>
+      <td>__cpp_inheriting_constructors >= 201511</td>
+    </tr>
+    <tr>
+      <td>Inline variables</td>
+      <td><a href="http://wg21.link/p0386">P0386R2</a> </td>
+      <td class="unsupported">No</td>
+      <td>???</td>
+    </tr>
   </table>
 
   <h2 id="tses">Technical Specifications</h2>

	Jakub



More information about the Gcc-patches mailing list