]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Backport documentation fixes
authorJonathan Wakely <jwakely@redhat.com>
Mon, 2 Sep 2019 11:09:51 +0000 (12:09 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Mon, 2 Sep 2019 11:09:51 +0000 (12:09 +0100)
Backport from mainline
2019-05-21  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants.

Backport from mainline
2019-06-20  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/status_cxx2017.xml: Fix outdated reference to
C++17 working draft.

Backport from mainline
2019-05-23  Jonathan Wakely  <jwakely@redhat.com>

* doc/xml/manual/status_cxx2017.xml: Add feature test macro for
P0040R3.
* doc/html/*: Regenerate.

From-SVN: r275307

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

index 811411d5ab4a96f241c67badc90894a0632f3b12..dd99959b9dde2468211ae1e85b9f9565dae488fe 100644 (file)
@@ -1,3 +1,23 @@
+2019-09-02  Jonathan Wakely  <jwakely@redhat.com>
+
+       Backport from mainline
+       2019-05-23  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/status_cxx2017.xml: Add feature test macro for
+       P0040R3.
+       * doc/html/*: Regenerate.
+
+       Backport from mainline
+       2019-06-20  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/status_cxx2017.xml: Fix outdated reference to
+       C++17 working draft.
+
+       Backport from mainline
+       2019-05-21  Jonathan Wakely  <jwakely@redhat.com>
+
+       * doc/xml/manual/shared_ptr.xml: Fix names of lock policy constants.
+
 2019-09-02  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index 28a4577eb18acaf31bce831786a19a2a5ef9a9ad..b7c9480603196a602d351236fe4ac4acdc409c28 100644 (file)
@@ -554,7 +554,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
@@ -562,13 +562,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 4da9f0ad4b3dd46422ababc6360a21c8f690fea6..5c988179a12f02ed915ef46dac168c4787482703 100644 (file)
@@ -518,8 +518,8 @@ presence of the required flag.
 </p><p>
 This section describes the C++17 and library TS support in the GCC 7 series.
 </p><p>
-The following table lists new library features that have been accepted into
-the C++17 working draft. The "Proposal" column provides a link to the
+The following table lists new library features that are included in
+the C++17 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).
index fcbade6d5bfd0eb60a02163cc5f8ddc9d278ef3e..24e275e95ebb1a5e773713196298a6691b5aa2da 100644 (file)
@@ -239,7 +239,7 @@ available policies are:
    <orderedlist>
      <listitem>
        <para>
-       <constant>_S_Atomic</constant>
+       <constant>_S_atomic</constant>
        </para>
        <para>
 Selected when GCC supports a builtin atomic compare-and-swap operation
@@ -252,7 +252,7 @@ synchronisation.
 
      <listitem>
        <para>
-       <constant>_S_Mutex</constant>
+       <constant>_S_mutex</constant>
        </para>
        <para>
 The _Sp_counted_base specialization for this policy contains a mutex,
@@ -263,7 +263,7 @@ builtins aren't available so explicit memory barriers are needed in places.
 
      <listitem>
        <para>
-       <constant>_S_Single</constant>
+       <constant>_S_single</constant>
        </para>
        <para>
 This policy uses a non-reentrant add_ref_lock() with no locking. It is
index 8ca06117742456b2bea57b7c64193b2ad6a96af1..2f4ebe37c81e1b4c911156d96ebc2f24d5de699b 100644 (file)
@@ -24,8 +24,8 @@ This section describes the C++17 and library TS support in the GCC 7 series.
 </para>
 
 <para>
-The following table lists new library features that have been accepted into
-the C++17 working draft. The "Proposal" column provides a link to the
+The following table lists new library features that are included in
+the C++17 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).