public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [wwwdocs] Add some missing C++17 features
@ 2016-09-26 16:40 Jakub Jelinek
  2016-09-26 17:23 ` Jonathan Wakely
  2016-09-27 14:54 ` Jason Merrill
  0 siblings, 2 replies; 3+ messages in thread
From: Jakub Jelinek @ 2016-09-26 16:40 UTC (permalink / raw)
  To: Jason Merrill, Jonathan Wakely; +Cc: gcc-patches

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 &gt;= 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wwwdocs] Add some missing C++17 features
  2016-09-26 16:40 [wwwdocs] Add some missing C++17 features Jakub Jelinek
@ 2016-09-26 17:23 ` Jonathan Wakely
  2016-09-27 14:54 ` Jason Merrill
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Wakely @ 2016-09-26 17:23 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Jason Merrill, gcc-patches

On 26/09/16 18:35 +0200, Jakub Jelinek wrote:
>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?).

The latest draft of SD-6 says __cpp_inline_variables >= 201606 for
that.

>Dunno what to do with P0400R0 that clang cxx_status.html lists too.

IMHO we don't need a separate entry for that.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [wwwdocs] Add some missing C++17 features
  2016-09-26 16:40 [wwwdocs] Add some missing C++17 features Jakub Jelinek
  2016-09-26 17:23 ` Jonathan Wakely
@ 2016-09-27 14:54 ` Jason Merrill
  1 sibling, 0 replies; 3+ messages in thread
From: Jason Merrill @ 2016-09-27 14:54 UTC (permalink / raw)
  To: Jakub Jelinek; +Cc: Jonathan Wakely, gcc-patches List

On Mon, Sep 26, 2016 at 12:35 PM, Jakub Jelinek <jakub@redhat.com> wrote:
>      <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>

This is in GCC 5.

OK with that change.

Jason

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-09-27 14:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-26 16:40 [wwwdocs] Add some missing C++17 features Jakub Jelinek
2016-09-26 17:23 ` Jonathan Wakely
2016-09-27 14:54 ` Jason Merrill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).