summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2018-10-12 12:37:51 +0100
committerJonathan Wakely <redi@gcc.gnu.org>2018-10-12 12:37:51 +0100
commita19a0829cab9c0358a90c73010104d421f43ead4 (patch)
tree5fe7f2daf55300ed2b0a44c5e1a235e943627ddc
parent2d75d90a3d8b2ed3952769ba4d37f8782ef5ff02 (diff)
downloadgcc-a19a0829cab9c0358a90c73010104d421f43ead4.tar.gz
PR libstdc++/77854 document size_type for containers
PR libstdc++/77854 * doc/xml/manual/status_cxx1998.xml: Document size_type and difference_type for containers. * doc/html/*: Regenerate. From-SVN: r265084
-rw-r--r--libstdc++-v3/ChangeLog7
-rw-r--r--libstdc++-v3/doc/html/manual/status.html3
-rw-r--r--libstdc++-v3/doc/xml/manual/status_cxx1998.xml4
3 files changed, 14 insertions, 0 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index d29dfece6cc..325a07bb70a 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,5 +1,12 @@
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
2018-05-18 Jonathan Wakely <jwakely@redhat.com>
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index 33b423bf8fe..ab8255edd62 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -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
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx1998.xml b/libstdc++-v3/doc/xml/manual/status_cxx1998.xml
index 5dceecf4547..4d8a62f8c00 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx1998.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx1998.xml
@@ -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>