From: Jonathan Wakely
Date: Thu, 23 May 2019 16:01:18 +0000 (+0100)
Subject: Add missing feature test macro to C++17 status table
X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1a4f7c1b05389e5d4469571ca510e4c519d5fe51;p=gcc.git
Add missing feature test macro to C++17 status table
* doc/xml/manual/status_cxx2017.xml: Add feature test macro for
P0040R3.
* doc/html/*: Regenerate.
From-SVN: r271571
---
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 2d557fc3a78..1e88703d406 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,9 @@
2019-05-23 Jonathan Wakely
+ * doc/xml/manual/status_cxx2017.xml: Add feature test macro for
+ P0040R3.
+ * doc/html/*: Regenerate.
+
* include/experimental/any (__any_caster): Use RTTI if comparing
addresses fails, to support non-unique addresses in shared libraries.
* include/std/any (__any_caster): Likewise.
diff --git a/libstdc++-v3/doc/html/manual/memory.html b/libstdc++-v3/doc/html/manual/memory.html
index b373c31c84c..8f7cd1a187e 100644
--- a/libstdc++-v3/doc/html/manual/memory.html
+++ b/libstdc++-v3/doc/html/manual/memory.html
@@ -541,7 +541,7 @@ not be conforming for shared_ptr
to have an
extra template parameter, even if it had a default value. The
available policies are:
- _S_Atomic
+ _S_atomic
Selected when GCC supports a builtin atomic compare-and-swap operation
on the target processor (see Atomic
@@ -549,13 +549,13 @@ Builtins.) The reference counts are maintained using a lock-free
algorithm and GCC's atomic builtins, which provide the required memory
synchronisation.
- _S_Mutex
+ _S_mutex
The _Sp_counted_base specialization for this policy contains a mutex,
which is locked in add_ref_lock(). This policy is used when GCC's atomic
builtins aren't available so explicit memory barriers are needed in places.
- _S_Single
+ _S_single
This policy uses a non-reentrant add_ref_lock() with no locking. It is
used when libstdc++ is built without --enable-threads
.
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index f6494b5477f..38400194eb3 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -669,7 +669,7 @@ Feature-testing recommendations for C++.
P0040R3
-
7.1 | | shared_ptr::weak_type |
+ | 7.1 | __cpp_lib_raw_memory_algorithms >= 201606L |
shared_ptr::weak_type |
P0163R0
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
index 73403ef6ba0..a11e93cda90 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
@@ -392,7 +392,7 @@ Feature-testing recommendations for C++.
7.1
-
+ __cpp_lib_raw_memory_algorithms >= 201606L
|