[wwwdocs] Update C++ status with Belfast motions
diff mbox series

Message ID 20191122215149.GB18206@redhat.com
State New
Headers show
Series
  • [wwwdocs] Update C++ status with Belfast motions
Related show

Commit Message

Marek Polacek Nov. 22, 2019, 9:51 p.m. UTC
Committed to git.  Should s/http/https/ the wg21 links.

Jason, do we support P1907R1?

commit d59a823fb4ad2daa535d26f592274ec68b9cb4a1
Author: Marek Polacek <polacek@redhat.com>
Date:   Fri Nov 22 16:49:27 2019 -0500

    Update with Belfast motions.

Comments

Jason Merrill Nov. 25, 2019, 2:39 p.m. UTC | #1
On Fri, Nov 22, 2019 at 4:51 PM Marek Polacek <polacek@redhat.com> wrote:

> Committed to git.  Should s/http/https/ the wg21 links.
>
> Jason, do we support P1907R1?
>

Pretty close, just need to add a bit more checking.


> commit d59a823fb4ad2daa535d26f592274ec68b9cb4a1
> Author: Marek Polacek <polacek@redhat.com>
> Date:   Fri Nov 22 16:49:27 2019 -0500
>
>     Update with Belfast motions.
>
> diff --git a/htdocs/projects/cxx-status.html
> b/htdocs/projects/cxx-status.html
> index c240d6da..380a7dfa 100644
> --- a/htdocs/projects/cxx-status.html
> +++ b/htdocs/projects/cxx-status.html
> @@ -116,7 +116,11 @@
>         <a href="http://wg21.link/p1141r2">P1141R2</a><br/>
>         <a href="http://wg21.link/p0848r3">P0848R3</a><br/>
>         <a href="http://wg21.link/p1616r1">P1616R1</a><br/>
> -       <a href="http://wg21.link/p1452r2">P1452R2</a></td>
> +       <a href="http://wg21.link/p1452r2">P1452R2</a><br/>
> +       <!-- from Belfast -->
> +       <a href="https://wg21.link/p1972r0">P1972R0</a><br/>
> +       <!-- from Belfast -->
> +       <a href="https://wg21.link/p1980r0">P1980R0</a></td>
>        <td class="supported"> <a href="../gcc-10/changes.html#cxx">10</a>
> </td>
>        <td> __cpp_concepts &gt;= ? </td>
>      </tr>
> @@ -157,7 +161,10 @@
>         <a href="http://wg21.link/p1120r0">P1120R0</a><br/>
>         <a href="http://wg21.link/p1185r2">P1185R2</a><br/>
>         <a href="http://wg21.link/p1186r3">P1186R3</a><br/>
> -       <a href="http://wg21.link/p1630r1">P1630R1</a></td>
> +       <a href="http://wg21.link/p1630r1">P1630R1</a><br/>
> +       <!-- from Belfast -->
> +       <a href="https://wg21.link/p1946r0">P1946R0</a>
> +       </td>
>        <td class="supported center"><a
> href="../gcc-10/changes.html#cxx">10</a></td>
>        <td> __cpp_impl_three_way_comparison &gt;= 201711 </td>
>      </tr>
> @@ -229,7 +236,9 @@
>      </tr>
>      <tr>
>        <td> Class Types in Non-Type Template Parameters </td>
> -      <td><a href="http://wg21.link/p0732r2">P0732R2</a></td>
> +      <td><a href="http://wg21.link/p0732r2">P0732R2</a><br/>
> +       <!-- from Belfast -->
> +       <a href="https://wg21.link/p1907r1">P1907R1</a></td>
>        <td class="supported"> <a href="../gcc-9/changes.html#cxx">9</a>
> </td>
>        <td> __cpp_nontype_template_parameter_class &gt;= 201806 </td>
>      </tr>
> @@ -332,10 +341,10 @@
>        <td> </td>
>      </tr>
>      <tr>
> -      <td rowspan=4> Modules </td>
> +      <td rowspan=6> Modules </td>
>        <td><a href="http://wg21.link/p1103r3">P1103R3</a></td>
> -      <td rowspan="4" class="unsupported">No (<a
> href="../wiki/cxx-modules">Modules Wiki</a>) </td>
> -      <td rowspan="4"> </td>
> +      <td rowspan="6" class="unsupported">No (<a
> href="../wiki/cxx-modules">Modules Wiki</a>) </td>
> +      <td rowspan="6"> </td>
>      </tr>
>      <tr>
>        <td><a href="http://wg21.link/p1766r1">P1766R1</a></td>
> @@ -346,6 +355,14 @@
>      <tr>
>        <td><a href="http://wg21.link/p1703r1">P1703R1</a></td>
>      </tr>
> +    <tr>
> +      <!-- from Belfast -->
> +      <td><a href="https://wg21.link/p1874r1">P1874R1</a></td>
> +    </tr>
> +    <tr>
> +      <!-- from Belfast -->
> +      <td><a href="https://wg21.link/p1979r0">P1979R0</a></td>
> +    </tr>
>      <tr>
>        <td> Coroutines </td>
>        <td><a href="http://wg21.link/p0912r5">P0912R5</a></td>
> @@ -354,7 +371,9 @@
>      </tr>
>      <tr>
>        <td> Parenthesized initialization of aggregates </td>
> -      <td><a href="http://wg21.link/p0960r3">P0960R3</a></td>
> +      <td><a href="http://wg21.link/p0960r3">P0960R3</a><br/>
> +      <!-- from Belfast -->
> +      <a href="https://wg21.link/p1975r0">P1975R0</a></td>
>        <td class="unsupported">No (<a href="https://gcc.gnu.org/PR91363
> ">PR91363</a>)</td>
>        <td> __cpp_aggregate_paren_init &gt;= 201902</td>
>      </tr>
>
>
Marek Polacek Nov. 25, 2019, 2:42 p.m. UTC | #2
On Mon, Nov 25, 2019 at 09:39:25AM -0500, Jason Merrill wrote:
> On Fri, Nov 22, 2019 at 4:51 PM Marek Polacek <polacek@redhat.com> wrote:
> 
> > Committed to git.  Should s/http/https/ the wg21 links.
> >
> > Jason, do we support P1907R1?
> >
> 
> Pretty close, just need to add a bit more checking.

Thanks, won't bother to change it back to unsupported in the table then.

Marek
Jakub Jelinek Nov. 25, 2019, 2:58 p.m. UTC | #3
On Mon, Nov 25, 2019 at 09:42:41AM -0500, Marek Polacek wrote:
> On Mon, Nov 25, 2019 at 09:39:25AM -0500, Jason Merrill wrote:
> > On Fri, Nov 22, 2019 at 4:51 PM Marek Polacek <polacek@redhat.com> wrote:
> > 
> > > Committed to git.  Should s/http/https/ the wg21 links.
> > >
> > > Jason, do we support P1907R1?
> > >
> > 
> > Pretty close, just need to add a bit more checking.
> 
> Thanks, won't bother to change it back to unsupported in the table then.

The following patch adds the SD-6 macros from P1902R1 to the table, ok for
wwwdocs?
Or shall we list it somehow to make it clear we do support all of these
macros only in GCC 10 and not earlier?
OT, seems I've mistyped P1902R1 as P1920R1 in my commit, will fix.

diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html
index 380a7dfa..01cf4fa3 100644
--- a/htdocs/projects/cxx-status.html
+++ b/htdocs/projects/cxx-status.html
@@ -94,13 +94,13 @@
       <td> Designated initializers </td>
       <td><a href="http://wg21.link/p0329r4">P0329R4</a> </td>
       <td class="supported"> <a href="../gcc-8/changes.html#cxx">8</a> </td>
-      <td> </td>
+      <td> __cpp_designated_initializers &gt;= 201707 </td>
     </tr>
     <tr>
       <td> Familiar template syntax for generic lambdas </td>
       <td><a href="http://wg21.link/p0428r2">P0428R2</a> </td>
       <td class="supported"> <a href="../gcc-8/changes.html#cxx">8</a> </td>
-      <td> </td>
+      <td> __cpp_generic_lambdas &gt;= 201707 </td>
     </tr>
     <tr>
       <td> List deduction of vector </td>
@@ -122,7 +122,7 @@
 	<!-- from Belfast -->
 	<a href="https://wg21.link/p1980r0">P1980R0</a></td>
       <td class="supported"> <a href="../gcc-10/changes.html#cxx">10</a> </td>
-      <td> __cpp_concepts &gt;= ? </td>
+      <td> __cpp_concepts &gt;= 201907 </td>
     </tr>
     <tr>
       <td> Range-based for statements with initializer </td>
@@ -152,7 +152,7 @@
       <td> Less eager instantiation of <code>constexpr</code> functions </td>
       <td><a href="http://wg21.link/p0859r0">P0859R0</a></td>
       <td class="supported"> 5.2 (mostly)<br/> <a href="../gcc-9/changes.html#cxx">9</a> (P0859R0) </td>
-      <td> </td>
+      <td> __cpp_constexpr_in_decltype &gt;= 201711 </td>
     </tr>
     <tr>
       <td> Consistent comparison (<code>operator&lt;=&gt;</code>) </td>
@@ -220,7 +220,7 @@
       <td> Allow pack expansion in lambda init-capture </td>
       <td><a href="http://wg21.link/p0780r2">P0780R2</a></td>
       <td class="supported"> <a href="../gcc-9/changes.html#cxx">9</a> </td>
-      <td> </td>
+      <td> __cpp_init_captures &gt;= 201803 </td>
     </tr>
     <tr>
       <td> Proposed wording for likely and unlikely attributes </td>
@@ -288,7 +288,7 @@
       <td> Immediate functions (consteval) </td>
       <td><a href="http://wg21.link/p1073r3">P1073R3</a></td>
       <td class="supported"> <a href="../gcc-10/changes.html#cxx">10</a> </td>
-      <td> </td>
+      <td> __cpp_consteval &gt;= 201811 </td>
     </tr>
     <tr>
       <td> std::is_constant_evaluated </td>


	Jakub
Marek Polacek Nov. 25, 2019, 3:09 p.m. UTC | #4
On Mon, Nov 25, 2019 at 03:58:44PM +0100, Jakub Jelinek wrote:
> On Mon, Nov 25, 2019 at 09:42:41AM -0500, Marek Polacek wrote:
> > On Mon, Nov 25, 2019 at 09:39:25AM -0500, Jason Merrill wrote:
> > > On Fri, Nov 22, 2019 at 4:51 PM Marek Polacek <polacek@redhat.com> wrote:
> > > 
> > > > Committed to git.  Should s/http/https/ the wg21 links.
> > > >
> > > > Jason, do we support P1907R1?
> > > >
> > > 
> > > Pretty close, just need to add a bit more checking.
> > 
> > Thanks, won't bother to change it back to unsupported in the table then.
> 
> The following patch adds the SD-6 macros from P1902R1 to the table, ok for
> wwwdocs?

Ok.

> Or shall we list it somehow to make it clear we do support all of these
> macros only in GCC 10 and not earlier?

I wouldn't think that's necessary.

> OT, seems I've mistyped P1902R1 as P1920R1 in my commit, will fix.

Thanks,

--
Marek Polacek • Red Hat, Inc. • 300 A St, Boston, MA

Patch
diff mbox series

diff --git a/htdocs/projects/cxx-status.html b/htdocs/projects/cxx-status.html
index c240d6da..380a7dfa 100644
--- a/htdocs/projects/cxx-status.html
+++ b/htdocs/projects/cxx-status.html
@@ -116,7 +116,11 @@ 
 	<a href="http://wg21.link/p1141r2">P1141R2</a><br/>
 	<a href="http://wg21.link/p0848r3">P0848R3</a><br/>
 	<a href="http://wg21.link/p1616r1">P1616R1</a><br/>
-	<a href="http://wg21.link/p1452r2">P1452R2</a></td>
+	<a href="http://wg21.link/p1452r2">P1452R2</a><br/>
+	<!-- from Belfast -->
+	<a href="https://wg21.link/p1972r0">P1972R0</a><br/>
+	<!-- from Belfast -->
+	<a href="https://wg21.link/p1980r0">P1980R0</a></td>
       <td class="supported"> <a href="../gcc-10/changes.html#cxx">10</a> </td>
       <td> __cpp_concepts &gt;= ? </td>
     </tr>
@@ -157,7 +161,10 @@ 
 	<a href="http://wg21.link/p1120r0">P1120R0</a><br/>
 	<a href="http://wg21.link/p1185r2">P1185R2</a><br/>
 	<a href="http://wg21.link/p1186r3">P1186R3</a><br/>
-	<a href="http://wg21.link/p1630r1">P1630R1</a></td>
+	<a href="http://wg21.link/p1630r1">P1630R1</a><br/>
+	<!-- from Belfast -->
+	<a href="https://wg21.link/p1946r0">P1946R0</a>
+	</td>
       <td class="supported center"><a href="../gcc-10/changes.html#cxx">10</a></td>
       <td> __cpp_impl_three_way_comparison &gt;= 201711 </td>
     </tr>
@@ -229,7 +236,9 @@ 
     </tr>
     <tr>
       <td> Class Types in Non-Type Template Parameters </td>
-      <td><a href="http://wg21.link/p0732r2">P0732R2</a></td>
+      <td><a href="http://wg21.link/p0732r2">P0732R2</a><br/>
+	<!-- from Belfast -->
+	<a href="https://wg21.link/p1907r1">P1907R1</a></td>
       <td class="supported"> <a href="../gcc-9/changes.html#cxx">9</a> </td>
       <td> __cpp_nontype_template_parameter_class &gt;= 201806 </td>
     </tr>
@@ -332,10 +341,10 @@ 
       <td> </td>
     </tr>
     <tr>
-      <td rowspan=4> Modules </td>
+      <td rowspan=6> Modules </td>
       <td><a href="http://wg21.link/p1103r3">P1103R3</a></td>
-      <td rowspan="4" class="unsupported">No (<a href="../wiki/cxx-modules">Modules Wiki</a>) </td>
-      <td rowspan="4"> </td>
+      <td rowspan="6" class="unsupported">No (<a href="../wiki/cxx-modules">Modules Wiki</a>) </td>
+      <td rowspan="6"> </td>
     </tr>
     <tr>
       <td><a href="http://wg21.link/p1766r1">P1766R1</a></td>
@@ -346,6 +355,14 @@ 
     <tr>
       <td><a href="http://wg21.link/p1703r1">P1703R1</a></td>
     </tr>
+    <tr>
+      <!-- from Belfast -->
+      <td><a href="https://wg21.link/p1874r1">P1874R1</a></td>
+    </tr>
+    <tr>
+      <!-- from Belfast -->
+      <td><a href="https://wg21.link/p1979r0">P1979R0</a></td>
+    </tr>
     <tr>
       <td> Coroutines </td>
       <td><a href="http://wg21.link/p0912r5">P0912R5</a></td>
@@ -354,7 +371,9 @@ 
     </tr>
     <tr>
       <td> Parenthesized initialization of aggregates </td>
-      <td><a href="http://wg21.link/p0960r3">P0960R3</a></td>
+      <td><a href="http://wg21.link/p0960r3">P0960R3</a><br/>
+      <!-- from Belfast -->
+      <a href="https://wg21.link/p1975r0">P1975R0</a></td>
       <td class="unsupported">No (<a href="https://gcc.gnu.org/PR91363">PR91363</a>)</td>
       <td> __cpp_aggregate_paren_init &gt;= 201902</td>
     </tr>