diff mbox series

[libstdc++] Doc changes for constexpr additions for C++20 status.

Message ID 6818b3ad-3e8a-2f49-30fc-ffc530a294d6@verizon.net
State New
Headers show
Series [libstdc++] Doc changes for constexpr additions for C++20 status. | expand

Commit Message

Li, Pan2 via Gcc-patches Sept. 5, 2019, 7:45 p.m. UTC
Here is a patch to the libstdc++ docs re constexpr additions. They 
reflect the latest macro assignments AFAICT.

Constexpr interator reqs are implemented in 9.1, the rest for 10.1.

Ok?

Should I bother adding the Constexpr interator requirements to the gcc-9 
branch docs?

Ed

Comments

Jonathan Wakely Sept. 9, 2019, 9:41 a.m. UTC | #1
On 05/09/19 15:45 -0400, Ed Smith-Rowland via libstdc++ wrote:
>Here is a patch to the libstdc++ docs re constexpr additions. They 
>reflect the latest macro assignments AFAICT.
>
>Constexpr interator reqs are implemented in 9.1, the rest for 10.1.
>
>Ok?
>
>Should I bother adding the Constexpr interator requirements to the 
>gcc-9 branch docs?

Yes please, it would be good to have that part in the gcc-9 docs. No
need to regen the HTML on the branch at this time though.

Thanks!
Li, Pan2 via Gcc-patches Sept. 9, 2019, 5:25 p.m. UTC | #2
On 9/9/19 5:41 AM, Jonathan Wakely wrote:
> On 05/09/19 15:45 -0400, Ed Smith-Rowland via libstdc++ wrote:
>> Here is a patch to the libstdc++ docs re constexpr additions. They 
>> reflect the latest macro assignments AFAICT.
>>
>> Constexpr interator reqs are implemented in 9.1, the rest for 10.1.
>>
>> Ok?
>>
>> Should I bother adding the Constexpr interator requirements to the 
>> gcc-9 branch docs?
>
> Yes please, it would be good to have that part in the gcc-9 docs. No
> need to regen the HTML on the branch at this time though.
>
> Thanks

Ok,

I committed the attached for gcc-9.

Ed
2019-09-09  Edward Smith-Rowland  <3dw4rd@verizon.net>

	Update docs for p858 - Constexpr iterator changes available since 9.1.
	* doc/xml/manual/status_cxx2020.xml: Update p0858r0 status.
Index: doc/xml/manual/status_cxx2020.xml
===================================================================
--- doc/xml/manual/status_cxx2020.xml	(revision 275522)
+++ doc/xml/manual/status_cxx2020.xml	(working copy)
@@ -309,7 +309,6 @@
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  Constexpr iterator requirements </entry>
       <entry>
         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0858r0.html">
@@ -316,8 +315,9 @@
 	P0858R0
 	</link>
       </entry>
-      <entry align="center"> </entry>
-      <entry />
+      <entry align="center"> 9.1 </entry>
+      <entry> <code>__cpp_lib_string_view &gt;= 201803L</code>
+      and <code>__cpp_lib_array_constexpr &gt;= 201803L</code> </entry>
     </row>
 
     <row>
diff mbox series

Patch

Index: doc/html/manual/status.html
===================================================================
--- doc/html/manual/status.html	(revision 275426)
+++ doc/html/manual/status.html	(working copy)
@@ -597,7 +597,7 @@ 
 	P0220R1
 	</a>
       </td><td align="center"> 7.1 </td><td align="left"> <code class="code">__has_include(&lt;string_view&gt;)</code>,
-              <code class="code">__cpp_lib_string_view &gt;= 201603</code>
+              <code class="code">__cpp_lib_string_view &gt;= 201803</code>
               (since 7.3, see Note 1)
       </td></tr><tr><td align="left"> Library Fundamentals V1 TS Components: <code class="code">memory_resource</code> </td><td align="left">
 	<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0220r1.html" target="_top">
@@ -778,7 +778,7 @@ 
 	<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0031r0.html" target="_top">
 	P0031R0
 	</a>
-      </td><td align="center"> 7.1 </td><td align="left"><code class="code"> __cpp_lib_array_constexpr &gt;= 201603 </code></td></tr><tr bgcolor="#B0B0B0"><td align="left"> The Parallelism TS Should be Standardized	 </td><td align="left">
+      </td><td align="center"> 7.1 </td><td align="left"><code class="code"> __cpp_lib_array_constexpr &gt;= 201803 </code></td></tr><tr bgcolor="#B0B0B0"><td align="left"> The Parallelism TS Should be Standardized	 </td><td align="left">
 	<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0024r2.html" target="_top">
 	P0024R2
 	</a>
@@ -1571,4 +1571,4 @@ 
    </p></div></div></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="intro.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="intro.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="license.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Part I. 
   Introduction
   
- </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> License</td></tr></table></div></body></html>
\ No newline at end of file
+ </td><td width="20%" align="center"><a accesskey="h" href="../index.html">Home</a></td><td width="40%" align="right" valign="top"> License</td></tr></table></div></body></html>
Index: doc/xml/manual/status_cxx2020.xml
===================================================================
--- doc/xml/manual/status_cxx2020.xml	(revision 275426)
+++ doc/xml/manual/status_cxx2020.xml	(working copy)
@@ -101,7 +101,6 @@ 
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  Add constexpr modifiers to functions in <code>&lt;algorithm&gt;</code> and <code>&lt;utility&gt;</code> Headers </entry>
       <entry>
         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0202r3.html">
@@ -108,8 +107,8 @@ 
 	P0202R3
 	</link>
       </entry>
-      <entry align="center"> </entry>
-      <entry />
+      <entry align="center"> 10.1 </entry>
+      <entry> <code>__cpp_lib_constexpr_algorithms &gt;= 201703L</code> </entry>
     </row>
 
     <row>
@@ -307,7 +306,6 @@ 
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  Constexpr iterator requirements </entry>
       <entry>
         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0858r0.html">
@@ -314,8 +312,9 @@ 
 	P0858R0
 	</link>
       </entry>
-      <entry align="center"> </entry>
-      <entry />
+      <entry align="center"> 9.1 </entry>
+      <entry> <code>__cpp_lib_string_view &gt;= 201803L</code>
+      and <code>__cpp_lib_array_constexpr &gt;= 201803L</code> </entry>
     </row>
 
     <row>
@@ -503,7 +502,6 @@ 
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  Constexpr for <code>swap</code> and swap related functions </entry>
       <entry>
         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0879r0.html">
@@ -510,8 +508,8 @@ 
 	P0879R0
 	</link>
       </entry>
-      <entry align="center"> </entry>
-      <entry />
+      <entry align="center"> 10.1 </entry>
+      <entry> <code>__cpp_lib_constexpr_algorithms &gt;= 201806L</code> </entry>
     </row>
 
     <row>
@@ -571,7 +569,6 @@ 
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry>  <code>constexpr</code> comparison operators for <code>std::array</code> </entry>
       <entry>
         <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1023r0.pdf">
@@ -578,7 +575,7 @@ 
 	P1023R0
 	</link>
       </entry>
-      <entry align="center"> </entry>
+      <entry align="center"> 10.1 </entry>
       <entry />
     </row>