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

2020-04-22 Thread Jonathan Wakely via Gcc-patches

On 21/04/20 20:30 +0100, Jonathan Wakely wrote:

Committed to wwwdocs.




commit ba9d172720e36f93daf9c1b4569d4babe34e307e
Author: Jonathan Wakely 
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.

  Improved experimental C++2a support, including:

+  
+Library concepts in concepts and
+iterator.
+  
+  
+Constrained algorithms in ranges,
+algorithm, and
+memory (thanks to Patrick Palka).
+  
+  
+New algorithms shift_left and shift_right
+(thanks to Patrick Palka).
+  
   std::span (thanks to JeanHeyd Meneide). 
+  
+Three-way comparisons in compare
+and throughout the library.
+  
  
Constexpr support in algorithm and elsewhere
(thanks to Edward Smith-Rowland).
@@ -396,16 +413,11 @@ a work-in-progress.
std::atomic_ref and
std::atomicfloating point.
  
-   std::ssize, std::to_array. 
  
-Library concepts in concepts and
-iterator.
+Integral comparison functions
+(cmp_equal, cmp_less 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.


commit cb7aff9c268dcb7012ea1d72dee82f64b0c9de12
Author: Jonathan Wakely 
Date:   Wed Apr 22 18:21:11 2020 +0100

Fix description of new C++20 library feature

These functions work on _integer_ types, not integral types.

diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html
index 06a4267a..3146806b 100644
--- a/htdocs/gcc-10/changes.html
+++ b/htdocs/gcc-10/changes.html
@@ -414,7 +414,7 @@ a work-in-progress.
 std::atomicfloating point.
   
   
-Integral comparison functions
+Integer comparison functions
 (cmp_equal, cmp_less etc.).
   
std::ssize, std::to_array. 


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

2020-04-21 Thread Jonathan Wakely via Gcc-patches
Committed to wwwdocs.

commit ba9d172720e36f93daf9c1b4569d4babe34e307e
Author: Jonathan Wakely 
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.
 
   Improved experimental C++2a support, including:
 
+  
+Library concepts in concepts and
+iterator.
+  
+  
+Constrained algorithms in ranges,
+algorithm, and
+memory (thanks to Patrick Palka).
+  
+  
+New algorithms shift_left and shift_right
+(thanks to Patrick Palka).
+  
std::span (thanks to JeanHeyd Meneide). 
+  
+Three-way comparisons in compare
+and throughout the library.
+  
   
 Constexpr support in algorithm and elsewhere
 (thanks to Edward Smith-Rowland).
@@ -396,16 +413,11 @@ a work-in-progress.
 std::atomic_ref and
 std::atomicfloating point.
   
-   std::ssize, std::to_array. 
   
-Library concepts in concepts and
-iterator.
+Integral comparison functions
+(cmp_equal, cmp_less etc.).
   
-  
-Constrained algorithms in ranges and
-memory (thanks to Patrick Palka).
-  
-   Three-way comparisons in compare. 
+   std::ssize, std::to_array. 
   
 std::construct_at, std::destroy,
 constexpr std::allocator.