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
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>