Add missing feature test macro to C++17 status table
authorJonathan Wakely <jwakely@redhat.com>
Thu, 23 May 2019 16:01:18 +0000 (17:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Thu, 23 May 2019 16:01:18 +0000 (17:01 +0100)
* doc/xml/manual/status_cxx2017.xml: Add feature test macro for
P0040R3.
* doc/html/*: Regenerate.

From-SVN: r271571

libstdc++-v3/ChangeLog
libstdc++-v3/doc/html/manual/memory.html
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/status_cxx2017.xml

index 2d557fc3a78014c0b2fa4a2c2e64f7d48b748c56..1e88703d406d6464dfc52e5deab8deeb1d0f49a8 100644 (file)
@@ -1,5 +1,9 @@
 2019-05-23  Jonathan Wakely  <jwakely@redhat.com>
 
+       * 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.
index b373c31c84c0b998a905198355e832ae167824ae..8f7cd1a187e2d776957719e3d9c0596297053052 100644 (file)
@@ -541,7 +541,7 @@ not be conforming for <code class="classname">shared_ptr</code> to have an
 extra template parameter, even if it had a default value.  The
 available policies are:
     </p><div class="orderedlist"><ol class="orderedlist" type="1"><li class="listitem"><p>
-       <code class="constant">_S_Atomic</code>
+       <code class="constant">_S_atomic</code>
        </p><p>
 Selected when GCC supports a builtin atomic compare-and-swap operation
 on the target processor (see <a class="link" href="http://gcc.gnu.org/onlinedocs/gcc/_005f_005fatomic-Builtins.html" target="_top">Atomic
@@ -549,13 +549,13 @@ Builtins</a>.)  The reference counts are maintained using a lock-free
 algorithm and GCC's atomic builtins, which provide the required memory
 synchronisation.
        </p></li><li class="listitem"><p>
-       <code class="constant">_S_Mutex</code>
+       <code class="constant">_S_mutex</code>
        </p><p>
 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.
        </p></li><li class="listitem"><p>
-       <code class="constant">_S_Single</code>
+       <code class="constant">_S_single</code>
        </p><p>
 This policy uses a non-reentrant add_ref_lock() with no locking. It is
 used when libstdc++ is built without <code class="literal">--enable-threads</code>.
index f6494b5477fbcfec9e5b5710a89a83b0d7e517b2..38400194eb3c367216ed01c23cd323ccd6cea626 100644 (file)
@@ -669,7 +669,7 @@ Feature-testing recommendations for C++</a>.
        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0040r3.html" target="_top">
        P0040R3
        </a>
-      </td><td align="center"> 7.1 </td><td align="left"><code class="code"> </code></td></tr><tr><td align="left"> <code class="code">shared_ptr::weak_type</code></td><td align="left">
+      </td><td align="center"> 7.1 </td><td align="left"><code class="code">__cpp_lib_raw_memory_algorithms &gt;= 201606L</code></td></tr><tr><td align="left"> <code class="code">shared_ptr::weak_type</code></td><td align="left">
        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0163r0.html" target="_top">
        P0163R0
        </a>
index 73403ef6ba0bbdcb5d00981502603d6b5e602578..a11e93cda90fb6fb348eb166ce1c41fc0755c66f 100644 (file)
@@ -392,7 +392,7 @@ Feature-testing recommendations for C++</link>.
        </link>
       </entry>
       <entry align="center"> 7.1 </entry>
-      <entry><code> </code></entry>
+      <entry><code>__cpp_lib_raw_memory_algorithms &gt;= 201606L</code></entry>
     </row>
 
     <row>