]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR libstdc++/77854 document size_type for containers
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Oct 2018 11:36:18 +0000 (12:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 12 Oct 2018 11:36:18 +0000 (12:36 +0100)
PR libstdc++/77854
* doc/xml/manual/status_cxx1998.xml: Document size_type and
difference_type for containers.
* doc/html/*: Regenerate.

From-SVN: r265082

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

index aaf5f12853f34954ca5e21ebaea7a3eece6e87f4..6b901e617a51ca64830e0136405a56df7eb1afeb 100644 (file)
@@ -1,3 +1,10 @@
+2018-10-12  Jonathan Wakely  <jwakely@redhat.com>
+
+       PR libstdc++/77854
+       * doc/xml/manual/status_cxx1998.xml: Document size_type and
+       difference_type for containers.
+       * doc/html/*: Regenerate.
+
 2018-10-08  Joseph Myers  <joseph@codesourcery.com>
 
        Backport from mainline
index ad4134ed55fcb877a77d08ad2569742b8a04f057..014760a2f64f38c806da6f34e11ebd373d0c176b 100644 (file)
@@ -117,6 +117,9 @@ This page describes the C++ support in the GCC 7 series.
    </p><p><span class="emphasis"><em>[22.*]</em></span> Anything and everything we have on locale
       implementation will be described under
       <a class="link" href="localization.html#std.localization.locales.locale" title="locale">Localization</a>.
+   </p><p><span class="emphasis"><em>[23.*]</em></span> All of the containers in this clause
+     define <span class="type">size_type</span> as <span class="type">std::size_t</span> and
+     <span class="type">difference_type</span> as <span class="type">std::ptrdiff_t</span>.
    </p><p><span class="emphasis"><em>[26.2.8]/9</em></span> I have no idea what
       <code class="code">complex&lt;T&gt;</code>'s <code class="code">pow(0,0)</code> returns.
    </p><p><span class="emphasis"><em>[27.4.2.4]/2</em></span> Calling
index ffdc878ffe8b74e9196e9cd77684d05519052439..5088a5a76b04c313b76484a0b30adbe2631d79f5 100644 (file)
@@ -1125,6 +1125,10 @@ This page describes the C++ support in the GCC 7 series.
       implementation will be described under
       <link linkend="std.localization.locales.locale">Localization</link>.
    </para>
+   <para><emphasis>[23.*]</emphasis> All of the containers in this clause
+     define <type>size_type</type> as <type>std::size_t</type> and
+     <type>difference_type</type> as <type>std::ptrdiff_t</type>.
+   </para>
    <para><emphasis>[26.2.8]/9</emphasis> I have no idea what
       <code>complex&lt;T&gt;</code>'s <code>pow(0,0)</code> returns.
    </para>