]> 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:37:51 +0000 (12:37 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 12 Oct 2018 11:37:51 +0000 (12:37 +0100)
PR libstdc++/77854
* doc/xml/manual/status_cxx1998.xml: Document size_type and
difference_type for containers.
* doc/html/*: Regenerate.

From-SVN: r265084

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

index d29dfece6cc0066f734c41e63d04ac3c7881b13d..325a07bb70abe05eeeaee25e8a83e2b64c205cc5 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-12  Jonathan Wakely  <jwakely@redhat.com>
 
        Backport from mainline
index 33b423bf8fedadf3a0f7ccadf34d67faa5a0a73b..ab8255edd62c84f6b948942594c1dbef08a2f2b8 100644 (file)
@@ -121,6 +121,9 @@ This page describes the C++ support in the GCC 6 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 5dceecf45472878fd04054ae84e3a106263f6ef6..4d8a62f8c006e742eff8b06e2285c9e26fe77f5e 100644 (file)
@@ -1129,6 +1129,10 @@ This page describes the C++ support in the GCC 6 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>