diff mbox series

[wwwdocs] Update list of new C++20 features in libstdc++

Message ID 20200421193001.GA2243891@redhat.com
State New
Headers show
Series [wwwdocs] Update list of new C++20 features in libstdc++ | expand

Commit Message

Jonathan Wakely April 21, 2020, 7:30 p.m. UTC
Committed to wwwdocs.
commit ba9d172720e36f93daf9c1b4569d4babe34e307e
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Tue Apr 21 20:28:48 2020 +0100

    Update list of new C++20 features in libstdc++

Comments

Jonathan Wakely April 22, 2020, 5:24 p.m. UTC | #1
On 21/04/20 20:30 +0100, Jonathan Wakely wrote:
>Committed to wwwdocs.
>

>commit ba9d172720e36f93daf9c1b4569d4babe34e307e
>Author: Jonathan Wakely <jwakely@redhat.com>
>Date:   Tue Apr 21 20:28:48 2020 +0100
>
>    Update list of new C++20 features in libstdc++
>
>diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
>index fc8f16e7..06a4267a 100644
>--- a/htdocs/gcc-10/changes.html
>+++ b/htdocs/gcc-10/changes.html
>@@ -383,7 +383,24 @@ a work-in-progress.</p>
> <ul>
>   <li>Improved experimental C++2a support, including:
>     <ul>
>+      <li>
>+        Library concepts in <code>&lt;concepts&gt;</code> and
>+        <code>&lt;iterator&gt;</code>.
>+      </li>
>+      <li>
>+        Constrained algorithms in <code>&lt;ranges&gt;</code>,
>+        <code>&lt;algorithm&gt;</code>, and
>+        <code>&lt;memory&gt;</code> (thanks to Patrick Palka).
>+      </li>
>+      <li>
>+        New algorithms <code>shift_left</code> and <code>shift_right</code>
>+        (thanks to Patrick Palka).
>+      </li>
>       <li> <code>std::span</code> (thanks to JeanHeyd Meneide). </li>
>+      <li>
>+        Three-way comparisons in <code>&lt;compare&gt;</code>
>+        and throughout the library.
>+      </li>
>       <li>
>         Constexpr support in <code>&lt;algorithm&gt;</code> and elsewhere
>         (thanks to Edward Smith-Rowland).
>@@ -396,16 +413,11 @@ a work-in-progress.</p>
>         <code>std::atomic_ref</code> and
>         <code>std::atomic&lt;</code><i>floating point</i><code>&gt;</code>.
>       </li>
>-      <li> <code>std::ssize</code>, <code>std::to_array</code>. </li>
>       <li>
>-        Library concepts in <code>&lt;concepts&gt;</code> and
>-        <code>&lt;iterator&gt;</code>.
>+        Integral comparison functions
>+        (<code>cmp_equal</code>, <code>cmp_less</code> etc.).

These functions work on _integer_ types, not integral types.

I hoped I'd stop getting that mixed up after doing it in
plenary in Prague, but apparently not.

The attached fix has been committed to wwwdocs.
diff mbox series

Patch

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index fc8f16e7..06a4267a 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -383,7 +383,24 @@  a work-in-progress.</p>
 <ul>
   <li>Improved experimental C++2a support, including:
     <ul>
+      <li>
+        Library concepts in <code>&lt;concepts&gt;</code> and
+        <code>&lt;iterator&gt;</code>.
+      </li>
+      <li>
+        Constrained algorithms in <code>&lt;ranges&gt;</code>,
+        <code>&lt;algorithm&gt;</code>, and
+        <code>&lt;memory&gt;</code> (thanks to Patrick Palka).
+      </li>
+      <li>
+        New algorithms <code>shift_left</code> and <code>shift_right</code>
+        (thanks to Patrick Palka).
+      </li>
       <li> <code>std::span</code> (thanks to JeanHeyd Meneide). </li>
+      <li>
+        Three-way comparisons in <code>&lt;compare&gt;</code>
+        and throughout the library.
+      </li>
       <li>
         Constexpr support in <code>&lt;algorithm&gt;</code> and elsewhere
         (thanks to Edward Smith-Rowland).
@@ -396,16 +413,11 @@  a work-in-progress.</p>
         <code>std::atomic_ref</code> and
         <code>std::atomic&lt;</code><i>floating point</i><code>&gt;</code>.
       </li>
-      <li> <code>std::ssize</code>, <code>std::to_array</code>. </li>
       <li>
-        Library concepts in <code>&lt;concepts&gt;</code> and
-        <code>&lt;iterator&gt;</code>.
+        Integral comparison functions
+        (<code>cmp_equal</code>, <code>cmp_less</code> etc.).
       </li>
-      <li>
-        Constrained algorithms in <code>&lt;ranges&gt;</code> and
-        <code>&lt;memory&gt;</code> (thanks to Patrick Palka).
-      </li>
-      <li> Three-way comparisons in <code>&lt;compare&gt;</code>. </li>
+      <li> <code>std::ssize</code>, <code>std::to_array</code>. </li>
       <li>
         <code>std::construct_at</code>, <code>std::destroy</code>,
         constexpr <code>std::allocator</code>.