* [committed 2/4] libstdc++: Add C++23 status docs
2022-05-16 13:57 [committed 1/4] libstdc++: Fix status docs for <bit> support Jonathan Wakely
@ 2022-05-16 13:57 ` Jonathan Wakely
2022-05-16 13:57 ` [committed 3/4] libstdc++: Update " Jonathan Wakely
2022-05-16 13:57 ` [committed 4/4] libstdc++: Fix hyperlink in docs Jonathan Wakely
2 siblings, 0 replies; 5+ messages in thread
From: Jonathan Wakely @ 2022-05-16 13:57 UTC (permalink / raw)
To: libstdc++, gcc-patches
Pushed to trunk. Backports to gcc-11 and gcc-12 to follow.
-- >8 --
These are the C++23 proposals already supported in the gcc-11 branch.
libstdc++-v3/ChangeLog:
* doc/xml/manual/intro.xml: Include new chapter.
* doc/xml/manual/status_cxx2020.xml: Tweak release numbers.
* doc/xml/manual/status_cxx2023.xml: New file.
* doc/html/*: Regenerate.
---
libstdc++-v3/doc/html/index.html | 2 +-
libstdc++-v3/doc/html/manual/index.html | 4 +-
libstdc++-v3/doc/html/manual/intro.html | 2 +-
libstdc++-v3/doc/html/manual/status.html | 109 +++++++-
libstdc++-v3/doc/xml/manual/intro.xml | 10 +-
.../doc/xml/manual/status_cxx2020.xml | 16 +-
.../doc/xml/manual/status_cxx2023.xml | 232 ++++++++++++++++++
7 files changed, 347 insertions(+), 28 deletions(-)
create mode 100644 libstdc++-v3/doc/xml/manual/status_cxx2023.xml
diff --git a/libstdc++-v3/doc/xml/manual/intro.xml b/libstdc++-v3/doc/xml/manual/intro.xml
index 548b632b6e4..290e5d3a74e 100644
--- a/libstdc++-v3/doc/xml/manual/intro.xml
+++ b/libstdc++-v3/doc/xml/manual/intro.xml
@@ -47,15 +47,19 @@
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="status_cxx2020.xml">
</xi:include>
- <!-- Section 01.5 : Status C++ TR1 -->
+ <!-- Section 01.5 : Status C++ 2023 -->
+ <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="status_cxx2023.xml">
+ </xi:include>
+
+ <!-- Section 01.6 : Status C++ TR1 -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="status_cxxtr1.xml">
</xi:include>
- <!-- Section 01.6 : Status C++ TR24733 -->
+ <!-- Section 01.7 : Status C++ TR24733 -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="status_cxxtr24733.xml">
</xi:include>
- <!-- Section 01.7 : Status C++ IS 29124 -->
+ <!-- Section 01.8 : Status C++ IS 29124 -->
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="xml" href="status_cxxis29124.xml">
</xi:include>
</section>
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
index 7611d174233..d979db06b11 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2020.xml
@@ -25,8 +25,8 @@ not in any particular release.
</para>
<para>
-The following table lists new library features that have been accepted into
-the C++20 working draft. The "Proposal" column provides a link to the
+The following table lists new library features that are included in
+the C++20 standard. The "Proposal" column provides a link to the
ISO C++ committee proposal that describes the feature, while the "Status"
column indicates the first version of GCC that contains an implementation of
this feature (if it has been implemented).
@@ -359,7 +359,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0053r7.pdf">
P0053R7 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry> <code>__cpp_lib_syncbuf >= 201711L</code> </entry>
</row>
@@ -369,7 +369,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0753r2.pdf">
P0753R2 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry> <code>__cpp_lib_syncbuf >= 201803L</code> </entry>
</row>
@@ -643,7 +643,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0966r1.html">
P0966R1 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry />
</row>
@@ -1039,7 +1039,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p0476r2.html">
P0476R2 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry> <code>__cpp_lib_bit_cast >= 201806L</code> </entry>
</row>
@@ -1424,7 +1424,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1208r6.pdf">
P1208R6 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry>
<code>__cpp_lib_source_location >= 201907L</code>
</entry>
@@ -1436,7 +1436,7 @@ or any notes about the implementation.
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p0408r7.pdf">
P0408R7 </link>
</entry>
- <entry align="center"> 11 </entry>
+ <entry align="center"> 11.1 </entry>
<entry />
</row>
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2023.xml b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
new file mode 100644
index 00000000000..f1244da9dc8
--- /dev/null
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
@@ -0,0 +1,232 @@
+<section xmlns="http://docbook.org/ns/docbook" version="5.0"
+ xml:id="status.iso.2023" xreflabel="Status C++ 2023">
+<?dbhtml filename="status_iso_cxx2023.html"?>
+
+<info><title>C++ 2023</title>
+ <keywordset>
+ <keyword>ISO C++</keyword>
+ <keyword>2023</keyword>
+ </keywordset>
+</info>
+
+<para>
+In this implementation the <literal>-std=gnu++23</literal> or
+<literal>-std=c++23</literal> flag must be used to enable language
+and library
+features. See <link linkend="manual.intro.using.flags">dialect</link>
+options. The pre-defined symbol
+<constant>__cplusplus</constant> is used to check for the
+presence of the required flag.
+</para>
+
+<para>
+This section describes the C++23 and library TS support in mainline GCC,
+not in any particular release.
+</para>
+
+<para>
+The following table lists new library features that have been accepted into
+the C++23 working draft. The "Proposal" column provides a link to the
+ISO C++ committee proposal that describes the feature, while the "Status"
+column indicates the first version of GCC that contains an implementation of
+this feature (if it has been implemented).
+A dash (—) in the status column indicates that the changes in the proposal
+either do not affect the code in libstdc++, or the changes are not required for conformance.
+The "SD-6 Feature Test / Notes" column shows the corresponding macro or header from
+<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="https://isocpp.org/std/standing-documents/sd-6-sg10-feature-test-recommendations">SD-6:
+Feature-testing recommendations for C++</link> (where applicable)
+or any notes about the implementation.
+</para>
+
+<table frame="all" xml:id="table.cxx23_features">
+<title>C++ 2023 Library Features</title>
+
+<tgroup cols="4" align="left" colsep="0" rowsep="1">
+<colspec colname="c1"/>
+<colspec colname="c2"/>
+<colspec colname="c3"/>
+<colspec colname="c4"/>
+ <thead>
+ <row>
+ <entry>Library Feature</entry>
+ <entry>Proposal</entry>
+ <entry>Status</entry>
+ <entry>SD-6 Feature Test / Notes</entry>
+ </row>
+ </thead>
+
+ <tbody>
+
+ <row>
+ <entry namest="c1" nameend="c4" align="left">
+ <emphasis role="bold">Ranges and Views</emphasis>
+ </entry>
+ </row>
+
+ <row>
+ <entry> Range constructor for std::string_view </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1989r2.pdf">
+ P1989R2
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> <code>join_view</code> should join all views of ranges </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2328r1.html">
+ P2328R1
+ </link>
+ </entry>
+ <entry align="center"> 11.2 </entry>
+ <entry />
+ </row>
+
+
+ <row>
+ <entry> Clarifying range adaptor objects </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2281r1.html">
+ P2281R1
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Views should not be required to be default constructible </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2325r3.html">
+ P2325R3
+ </link>
+ </entry>
+ <entry align="center"> 11.3 </entry>
+ <entry> <code>__cpp_lib_ranges >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Conditionally borrowed ranges </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2017r1.html">
+ P2017R1
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Require <code>span</code> & <code>basic_string_view</code> to be Trivially Copyable </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2251r1.pdf">
+ P2251R1
+ </link>
+ </entry>
+ <entry align="center"> Yes </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry namest="c1" nameend="c4" align="left">
+ <emphasis role="bold">Compile-time programming</emphasis>
+ </entry>
+ </row>
+
+ <row>
+ <entry> A proposal for a type trait to detect scoped enumerations </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1048r1.pdf">
+ P1048R1
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry> <code>__cpp_lib_is_scoped_enum >= 202011L</code> </entry>
+ </row>
+
+ <row>
+ <entry> std::to_underlying for enumerations </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1682r3.html">
+ P1682R3
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry> <code>__cpp_lib_to_underlying >= 202102L</code> </entry>
+ </row>
+
+ <row>
+ <entry namest="c1" nameend="c4" align="left">
+ <emphasis role="bold">Strings and text</emphasis>
+ </entry>
+ </row>
+
+ <row>
+ <entry> string contains function </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1679r3.html">
+ P1679R3
+ </link>
+ </entry>
+ <entry align="center"> 11.1 </entry>
+ <entry> <code>__cpp_lib_string_contains >= 202011L</code> </entry>
+ </row>
+
+ <row>
+ <entry namest="c1" nameend="c4" align="left">
+ <emphasis role="bold">Miscellaneous</emphasis>
+ </entry>
+ </row>
+
+ <row>
+ <entry> Inheriting from <code>std::variant</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2162r2.html">
+ P2162R2
+ </link>
+ </entry>
+ <entry align="center"> 11.3 </entry>
+ <entry> <code>__cpp_lib_variant >= 202102L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Printing <code>volatile</code> Pointers </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1147r1.html">
+ P1147R1
+ </link>
+ </entry>
+ <entry align="center"> 11.3 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Clarifying the status of the "C headers" </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2340r1.html">
+ P2340R1
+ </link>
+ </entry>
+ <entry align="center"> Yes </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Relax Requirements for time_point::clock </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2212r2.html">
+ P2212R2
+ </link>
+ </entry>
+ <entry align="center"> Yes </entry>
+ <entry />
+ </row>
+
+ </tbody>
+</tgroup>
+</table>
+
+</section>
--
2.34.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* [committed 3/4] libstdc++: Update C++23 status docs
2022-05-16 13:57 [committed 1/4] libstdc++: Fix status docs for <bit> support Jonathan Wakely
2022-05-16 13:57 ` [committed 2/4] libstdc++: Add C++23 status docs Jonathan Wakely
@ 2022-05-16 13:57 ` Jonathan Wakely
2022-05-16 14:37 ` Jonathan Wakely
2022-05-16 13:57 ` [committed 4/4] libstdc++: Fix hyperlink in docs Jonathan Wakely
2 siblings, 1 reply; 5+ messages in thread
From: Jonathan Wakely @ 2022-05-16 13:57 UTC (permalink / raw)
To: libstdc++, gcc-patches
Pushed to trunk. Backport to gcc-12 to follow.
-- >8 --
These are the C++23 proposals supported in the gcc-12 branch.
libstdc++-v3/ChangeLog:
* doc/xml/manual/status_cxx2023.xml: Update with gcc-12 support.
* doc/html/*: Regenerate.
---
libstdc++-v3/doc/html/manual/status.html | 132 ++++++-
.../doc/xml/manual/status_cxx2023.xml | 341 ++++++++++++++++++
2 files changed, 468 insertions(+), 5 deletions(-)
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index 118ce30ad54..8706d54b07a 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -1757,7 +1757,31 @@ or any notes about the implementation.
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2251r1.pdf" target="_top">
P2251R1
</a>
- </td><td align="center"> Yes </td><td align="left"> </td></tr><tr><td colspan="4" align="left">
+ </td><td align="center"> Yes </td><td align="left"> </td></tr><tr><td align="left"> Repairing input range adaptors and counted_iterator </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2259r1.html" target="_top">
+ P2259R1
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> Superior String Splitting </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2210r2.html" target="_top">
+ P2210R2
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> What is a <code class="code">view</code>? </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2415r2.html" target="_top">
+ P2415R2
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_ranges >= 202110L</code> </td></tr><tr><td align="left"> Fix istream_view </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2432r1.pdf" target="_top">
+ P2432R1
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> <code class="code">starts_with</code> and <code class="code">ends_with</code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1659r3.html" target="_top">
+ P1659R3
+ </a>
+ </td><td align="center"> </td><td align="left"> <code class="code">__cpp_lib_ranges_starts_ends_with >= 202106L</code> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> <code class="code">zip</code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2321r2.html" target="_top">
+ P2321R2
+ </a>
+ </td><td align="center"> </td><td align="left"> <code class="code">__cpp_lib_ranges_zip >= 202110L</code> </td></tr><tr><td colspan="4" align="left">
<span class="bold"><strong>Compile-time programming</strong></span>
</td></tr><tr><td align="left"> A proposal for a type trait to detect scoped enumerations </td><td align="left">
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1048r1.pdf" target="_top">
@@ -1767,13 +1791,67 @@ or any notes about the implementation.
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1682r3.html" target="_top">
P1682R3
</a>
- </td><td align="center"> 11.1 </td><td align="left"> <code class="code">__cpp_lib_to_underlying >= 202102L</code> </td></tr><tr><td colspan="4" align="left">
+ </td><td align="center"> 11.1 </td><td align="left"> <code class="code">__cpp_lib_to_underlying >= 202102L</code> </td></tr><tr><td align="left"> Missing constexpr in std::optional and std::variant </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2231r1.html" target="_top">
+ P2231R1
+ </a>
+ </td><td align="center">
+ <div class="informaltable"><table class="informaltable" border="0"><colgroup><col /></colgroup><tbody><tr><td> 11.3 (<code class="code">optional</code>) </td></tr><tr><td> 12.1 (<code class="code">variant</code>) </td></tr></tbody></table></div>
+ </td><td align="left">
+ <div class="informaltable"><table class="informaltable" border="0"><colgroup><col /></colgroup><tbody><tr><td> <code class="code">__cpp_lib_constexpr_optional >= 202106L</code> </td></tr><tr><td> <code class="code">__cpp_lib_variant >= 202106L</code> </td></tr></tbody></table></div>
+ </td></tr><tr><td align="left"> Making <code class="code">std::unique_ptr</code> constexpr </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2273r3.pdf" target="_top">
+ P2273R3
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_constexpr_memory >= 202202L</code> </td></tr><tr><td align="left"> Making <code class="code">std::type_info::operator==</code> constexpr </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1328r1.html" target="_top">
+ P1328R1
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_constexpr_typeinfo >= 202106L</code> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> constexpr for <code class="code"><cmath></code> and <code class="code"><cstdlib></code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0533r9.pdf" target="_top">
+ P0533R9
+ </a>
+ </td><td align="center"> </td><td align="left"> <code class="code">__cpp_lib_constexpr_cmath >= 202202L</code> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> Deprecate std::aligned_storage and std::aligned_union </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf" target="_top">
+ P1413R3
+ </a>
+ </td><td align="center"> </td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> A type trait to detect reference binding to temporary </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2255r2.html" target="_top">
+ P2255R2
+ </a>
+ </td><td align="center"> </td><td align="left"> <code class="code">__cpp_lib_reference_from_temporary >= 202202L</code> </td></tr><tr><td colspan="4" align="left">
<span class="bold"><strong>Strings and text</strong></span>
</td></tr><tr><td align="left"> string contains function </td><td align="left">
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p1679r3.html" target="_top">
P1679R3
</a>
- </td><td align="center"> 11.1 </td><td align="left"> <code class="code">__cpp_lib_string_contains >= 202011L</code> </td></tr><tr><td colspan="4" align="left">
+ </td><td align="center"> 11.1 </td><td align="left"> <code class="code">__cpp_lib_string_contains >= 202011L</code> </td></tr><tr><td align="left"> Prohibit std::basic_string and std::basic_string_view construction from nullptr </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2166r1.html" target="_top">
+ P2166R1
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> basic_string::resize_and_overwrite </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1072r10.html" target="_top">
+ P1072R10
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_resize_and_overwrite >= 202110L</code> </td></tr><tr><td align="left"> A strstream replacement using span<charT> as buffer </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0448r4.pdf" target="_top">
+ P0448R4
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_spanstream >= 202106L</code> </td></tr><tr><td colspan="4" align="left">
+ <span class="bold"><strong>Containers</strong></span>
+ </td></tr><tr><td align="left"> Iterator pair constructors for stack and queue </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1425r4.pdf" target="_top">
+ P1425R4
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_adaptor_iterator_pair_constructor >= 202106L</code> </td></tr><tr><td align="left"> Stop overconstraining allocators in container deduction guides </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1518r2.html" target="_top">
+ P1518R2
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> Heterogeneous erasure overloads for associative containers </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2077r3.html" target="_top">
+ P2077R3
+ </a>
+ </td><td align="center"> </td><td align="left"> <code class="code">__cpp_lib_associative_heterogeneous_erasure >= 202110L</code> </td></tr><tr><td colspan="4" align="left">
<span class="bold"><strong>Miscellaneous</strong></span>
</td></tr><tr><td align="left"> Inheriting from <code class="code">std::variant</code> </td><td align="left">
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2162r2.html" target="_top">
@@ -1783,7 +1861,47 @@ or any notes about the implementation.
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1147r1.html" target="_top">
P1147R1
</a>
- </td><td align="center"> 11.3 </td><td align="left"> </td></tr><tr><td align="left"> Clarifying the status of the "C headers" </td><td align="left">
+ </td><td align="center"> 11.3 </td><td align="left"> </td></tr><tr><td align="left"> A Proposal to add stacktrace library </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0881r7.html" target="_top">
+ P0881R7
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_stacktrace >= 202011L</code> </td></tr><tr><td align="left"> Add a pmr alias for std::stacktrace </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2301r1.html" target="_top">
+ P2301R1
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> <code class="code">std::expected</code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html" target="_top">
+ P0323R12
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_expected >= 202202L</code> </td></tr><tr><td align="left"> Monadic operations for std::optional </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0798r8.html" target="_top">
+ P0798R8
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_optional >= 202110L</code> </td></tr><tr><td align="left"> <code class="code">move_only_function</code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0288r9.html" target="_top">
+ P0288R9
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_move_only_function >= 202110L</code> </td></tr><tr><td align="left"> <code class="code">invoke_r</code> </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2136r3.html" target="_top">
+ P2136R3
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_invoke_r >= 202106L</code> </td></tr><tr><td align="left"> Byteswapping for fun&&nuf </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1272r4.html" target="_top">
+ P1272R4
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_byteswap >= 202110L</code> </td></tr><tr><td align="left"> Function to mark unreachable code </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0627r6.pdf" target="_top">
+ P0627R6
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_unreachable >= 202202L</code> </td></tr><tr><td align="left"> Add a conditional noexcept specification to std::exchange </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2401r0.html" target="_top">
+ P2401R0
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> Support C atomics in C++ </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0943r6.html" target="_top">
+ P0943R6
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> <code class="code">__cpp_lib_stdatomic_h >= 202011L</code> </td></tr><tr><td align="left"> Clarifying the status of the "C headers" </td><td align="left">
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2340r1.html" target="_top">
P2340R1
</a>
@@ -1791,7 +1909,11 @@ or any notes about the implementation.
<a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2212r2.html" target="_top">
P2212R2
</a>
- </td><td align="center"> Yes </td><td align="left"> </td></tr></tbody></table></div></div><br class="table-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="status.iso.tr1"></a>C++ TR1</h3></div></div></div><p>
+ </td><td align="center"> Yes </td><td align="left"> </td></tr><tr><td align="left"> Removing Garbage Collection Support </td><td align="left">
+ <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2186r2.html" target="_top">
+ P2186R2
+ </a>
+ </td><td align="center"> 12.1 </td><td align="left"> </td></tr></tbody></table></div></div><br class="table-break" /></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="status.iso.tr1"></a>C++ TR1</h3></div></div></div><p>
This table is based on the table of contents of ISO/IEC DTR 19768,
Doc No: N1836=05-0096, Date: 2005-06-24,
"Draft Technical Report on C++ Library Extensions".
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2023.xml b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
index f1244da9dc8..a6049e7b0d4 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
@@ -130,6 +130,74 @@ or any notes about the implementation.
<entry />
</row>
+ <row>
+ <entry> Repairing input range adaptors and counted_iterator </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2259r1.html">
+ P2259R1
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Superior String Splitting </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2210r2.html">
+ P2210R2
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> What is a <code>view</code>? </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2415r2.html">
+ P2415R2
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_ranges >= 202110L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Fix istream_view </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2432r1.pdf">
+ P2432R1
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> <code>starts_with</code> and <code>ends_with</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1659r3.html">
+ P1659R3
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry> <code>__cpp_lib_ranges_starts_ends_with >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> <code>zip</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2321r2.html">
+ P2321R2
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry> <code>__cpp_lib_ranges_zip >= 202110L</code> </entry>
+ </row>
+
<row>
<entry namest="c1" nameend="c4" align="left">
<emphasis role="bold">Compile-time programming</emphasis>
@@ -158,6 +226,85 @@ or any notes about the implementation.
<entry> <code>__cpp_lib_to_underlying >= 202102L</code> </entry>
</row>
+ <row>
+ <entry> Missing constexpr in std::optional and std::variant </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2231r1.html">
+ P2231R1
+ </link>
+ </entry>
+ <entry align="center">
+ <informaltable colsep="0" rowsep="0" rowheader="norowheader" frame="none"><tgroup cols="1"><tbody>
+ <row><entry> 11.3 (<code>optional</code>) </entry></row>
+ <row><entry> 12.1 (<code>variant</code>) </entry></row>
+ </tbody></tgroup></informaltable>
+ </entry>
+ <entry>
+ <informaltable colsep="0" rowsep="0" rowheader="norowheader" frame="none"><tgroup cols="1"><tbody>
+ <row><entry> <code>__cpp_lib_constexpr_optional >= 202106L</code> </entry></row>
+ <row><entry> <code>__cpp_lib_variant >= 202106L</code> </entry></row>
+ </tbody></tgroup></informaltable>
+ </entry>
+ </row>
+
+ <row>
+ <entry> Making <code>std::unique_ptr</code> constexpr </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2273r3.pdf">
+ P2273R3
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_constexpr_memory >= 202202L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Making <code>std::type_info::operator==</code> constexpr </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1328r1.html">
+ P1328R1
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_constexpr_typeinfo >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> constexpr for <code><cmath></code> and <code><cstdlib></code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0533r9.pdf">
+ P0533R9
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry> <code>__cpp_lib_constexpr_cmath >= 202202L</code> </entry>
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> Deprecate std::aligned_storage and std::aligned_union </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1413r3.pdf">
+ P1413R3
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry />
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> A type trait to detect reference binding to temporary </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2255r2.html">
+ P2255R2
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry> <code>__cpp_lib_reference_from_temporary >= 202202L</code> </entry>
+ </row>
+
<row>
<entry namest="c1" nameend="c4" align="left">
<emphasis role="bold">Strings and text</emphasis>
@@ -175,6 +322,79 @@ or any notes about the implementation.
<entry> <code>__cpp_lib_string_contains >= 202011L</code> </entry>
</row>
+ <row>
+ <entry> Prohibit std::basic_string and std::basic_string_view construction from nullptr </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p2166r1.html">
+ P2166R1
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> basic_string::resize_and_overwrite </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1072r10.html">
+ P1072R10
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_resize_and_overwrite >= 202110L</code> </entry>
+ </row>
+
+ <row>
+ <entry> A strstream replacement using span<charT> as buffer </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0448r4.pdf">
+ P0448R4
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_spanstream >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <entry namest="c1" nameend="c4" align="left">
+ <emphasis role="bold">Containers</emphasis>
+ </entry>
+ </row>
+
+ <row>
+ <entry> Iterator pair constructors for stack and queue </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1425r4.pdf">
+ P1425R4
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_adaptor_iterator_pair_constructor >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Stop overconstraining allocators in container deduction guides </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1518r2.html">
+ P1518R2
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <?dbhtml bgcolor="#C8B0B0" ?>
+ <entry> Heterogeneous erasure overloads for associative containers </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2077r3.html">
+ P2077R3
+ </link>
+ </entry>
+ <entry align="center"> </entry>
+ <entry> <code>__cpp_lib_associative_heterogeneous_erasure >= 202110L</code> </entry>
+ </row>
+
<row>
<entry namest="c1" nameend="c4" align="left">
<emphasis role="bold">Miscellaneous</emphasis>
@@ -200,9 +420,119 @@ or any notes about the implementation.
</link>
</entry>
<entry align="center"> 11.3 </entry>
+ <entry/>
+ </row>
+
+ <row>
+ <entry> A Proposal to add stacktrace library </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0881r7.html">
+ P0881R7
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_stacktrace >= 202011L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Add a pmr alias for std::stacktrace </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2301r1.html">
+ P2301R1
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
<entry />
</row>
+ <row>
+ <entry> <code>std::expected</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p0323r12.html">
+ P0323R12
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_expected >= 202202L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Monadic operations for std::optional </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0798r8.html">
+ P0798R8
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_optional >= 202110L</code> </entry>
+ </row>
+
+ <row>
+ <entry> <code>move_only_function</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0288r9.html">
+ P0288R9
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_move_only_function >= 202110L</code> </entry>
+ </row>
+
+ <row>
+ <entry> <code>invoke_r</code> </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2136r3.html">
+ P2136R3
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_invoke_r >= 202106L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Byteswapping for fun&&nuf </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p1272r4.html">
+ P1272R4
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_byteswap >= 202110L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Function to mark unreachable code </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0627r6.pdf">
+ P0627R6
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_unreachable >= 202202L</code> </entry>
+ </row>
+
+ <row>
+ <entry> Add a conditional noexcept specification to std::exchange </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2401r0.html">
+ P2401R0
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
+ <row>
+ <entry> Support C atomics in C++ </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2020/p0943r6.html">
+ P0943R6
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry> <code>__cpp_lib_stdatomic_h >= 202011L</code> </entry>
+ </row>
+
<row>
<entry> Clarifying the status of the "C headers" </entry>
<entry>
@@ -225,6 +555,17 @@ or any notes about the implementation.
<entry />
</row>
+ <row>
+ <entry> Removing Garbage Collection Support </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2186r2.html">
+ P2186R2
+ </link>
+ </entry>
+ <entry align="center"> 12.1 </entry>
+ <entry />
+ </row>
+
</tbody>
</tgroup>
</table>
--
2.34.3
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [committed 3/4] libstdc++: Update C++23 status docs
2022-05-16 13:57 ` [committed 3/4] libstdc++: Update " Jonathan Wakely
@ 2022-05-16 14:37 ` Jonathan Wakely
0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Wakely @ 2022-05-16 14:37 UTC (permalink / raw)
To: Jonathan Wakely; +Cc: libstdc++, gcc Patches
[-- Attachment #1: Type: text/plain, Size: 90 bytes --]
This documents the partial support for P2231 in the gcc-11 branch,
pushed to that branch.
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1717 bytes --]
commit 5d418194ccb39346d2ad022c5b143fe00b2340ac
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Mon May 16 15:33:06 2022
libstdc++: Document support for constexpr optional (P2231R1)
The changes for std::variant are not on the gcc-11 branch though.
libstdc++-v3/ChangeLog:
* doc/xml/manual/status_cxx2023.xml: Update status.
* doc/html/manual/status.html: Regenerate.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2023.xml b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
index f1244da9dc8..75f31f55aa9 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2023.xml
@@ -158,6 +158,23 @@ or any notes about the implementation.
<entry> <code>__cpp_lib_to_underlying >= 202102L</code> </entry>
</row>
+ <row>
+ <?dbhtml bgcolor="#B0B0B0" ?>
+ <entry> Missing constexpr in std::optional and std::variant </entry>
+ <entry>
+ <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p2231r1.html">
+ P2231R1
+ </link>
+ </entry>
+ <entry align="center"> 11.3 (<code>optional</code> only) </entry>
+ <entry>
+ <informaltable colsep="0" rowsep="0" rowheader="norowheader" frame="none"><tgroup cols="1"><tbody>
+ <row><entry> <code>__cpp_lib_constexpr_optional >= 202106L</code> </entry></row>
+ <row><entry> <code>__cpp_lib_variant >= 202106L</code> </entry></row>
+ </tbody></tgroup></informaltable>
+ </entry>
+ </row>
+
<row>
<entry namest="c1" nameend="c4" align="left">
<emphasis role="bold">Strings and text</emphasis>
^ permalink raw reply [flat|nested] 5+ messages in thread
* [committed 4/4] libstdc++: Fix hyperlink in docs
2022-05-16 13:57 [committed 1/4] libstdc++: Fix status docs for <bit> support Jonathan Wakely
2022-05-16 13:57 ` [committed 2/4] libstdc++: Add C++23 status docs Jonathan Wakely
2022-05-16 13:57 ` [committed 3/4] libstdc++: Update " Jonathan Wakely
@ 2022-05-16 13:57 ` Jonathan Wakely
2 siblings, 0 replies; 5+ messages in thread
From: Jonathan Wakely @ 2022-05-16 13:57 UTC (permalink / raw)
To: libstdc++, gcc-patches
Pushed to trunk. Backports to follow.
-- >8 --
libstdc++-v3/ChangeLog:
* doc/xml/manual/prerequisites.xml: Fix attributes for external
hyperlink.
* doc/html/manual/setup.html: Regenerate.
---
libstdc++-v3/doc/html/manual/setup.html | 2 +-
libstdc++-v3/doc/xml/manual/prerequisites.xml | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/libstdc++-v3/doc/xml/manual/prerequisites.xml b/libstdc++-v3/doc/xml/manual/prerequisites.xml
index 8799487c821..f00979a1afa 100644
--- a/libstdc++-v3/doc/xml/manual/prerequisites.xml
+++ b/libstdc++-v3/doc/xml/manual/prerequisites.xml
@@ -71,7 +71,8 @@
</listitem>
<listitem>
<para>
- <link linkend="https://www.gnu.org/software/libiconv/#downloading">
+ <link xmlns:xlink="http://www.w3.org/1999/xlink"
+ xlink:href="https://www.gnu.org/software/libiconv/#downloading">
Download</link> the libiconv sources and extract them into the
top level of the GCC source tree, e.g.,
</para>
--
2.34.3
^ permalink raw reply [flat|nested] 5+ messages in thread