* [PATCH, libstdc++] Doc changes for constexpr additions for C++20 status.
@ 2019-09-05 19:46 Ed Smith-Rowland via gcc-patches
2019-09-09 9:41 ` Jonathan Wakely
0 siblings, 1 reply; 3+ messages in thread
From: Ed Smith-Rowland via gcc-patches @ 2019-09-05 19:46 UTC (permalink / raw)
To: Jonathan Wakely, libstdc++, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 281 bytes --]
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
[-- Attachment #2: patch_2020.txt --]
[-- Type: text/plain, Size: 4955 bytes --]
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(<string_view>)</code>,
- <code class="code">__cpp_lib_string_view >= 201603</code>
+ <code class="code">__cpp_lib_string_view >= 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 >= 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 >= 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><algorithm></code> and <code><utility></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 >= 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 >= 201803L</code>
+ and <code>__cpp_lib_array_constexpr >= 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 >= 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>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH, libstdc++] Doc changes for constexpr additions for C++20 status.
2019-09-05 19:46 [PATCH, libstdc++] Doc changes for constexpr additions for C++20 status Ed Smith-Rowland via gcc-patches
@ 2019-09-09 9:41 ` Jonathan Wakely
2019-09-09 17:25 ` Ed Smith-Rowland via gcc-patches
0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2019-09-09 9:41 UTC (permalink / raw)
To: Ed Smith-Rowland; +Cc: Jonathan Wakely, libstdc++, gcc-patches
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!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH, libstdc++] Doc changes for constexpr additions for C++20 status.
2019-09-09 9:41 ` Jonathan Wakely
@ 2019-09-09 17:25 ` Ed Smith-Rowland via gcc-patches
0 siblings, 0 replies; 3+ messages in thread
From: Ed Smith-Rowland via gcc-patches @ 2019-09-09 17:25 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: Jonathan Wakely, libstdc++, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 598 bytes --]
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
[-- Attachment #2: CL_2020 --]
[-- Type: text/plain, Size: 190 bytes --]
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.
[-- Attachment #3: patch_2020 --]
[-- Type: text/plain, Size: 830 bytes --]
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 >= 201803L</code>
+ and <code>__cpp_lib_array_constexpr >= 201803L</code> </entry>
</row>
<row>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-09-09 17:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 19:46 [PATCH, libstdc++] Doc changes for constexpr additions for C++20 status Ed Smith-Rowland via gcc-patches
2019-09-09 9:41 ` Jonathan Wakely
2019-09-09 17:25 ` Ed Smith-Rowland via gcc-patches
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).