public inbox for libstdc++-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-4720] libstdc++: Document istreambuf_iterator base class change [PR 92285]
@ 2020-11-04 12:47 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2020-11-04 12:47 UTC (permalink / raw)
  To: gcc-cvs, libstdc++-cvs

https://gcc.gnu.org/g:3ef33e756a65484a17abb95ef0d4133f80c014b1

commit r11-4720-g3ef33e756a65484a17abb95ef0d4133f80c014b1
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Wed Nov 4 12:45:32 2020 +0000

    libstdc++: Document istreambuf_iterator base class change [PR 92285]
    
    libstdc++-v3/ChangeLog:
    
            PR libstdc++/92285
            * doc/xml/manual/evolution.xml: Document change to base class.
            * doc/html/manual/api.html: Regenerate.

Diff:
---
 libstdc++-v3/doc/html/manual/api.html     | 7 +++++++
 libstdc++-v3/doc/xml/manual/evolution.xml | 9 +++++++++
 2 files changed, 16 insertions(+)

diff --git a/libstdc++-v3/doc/html/manual/api.html b/libstdc++-v3/doc/html/manual/api.html
index 1849e115936..70889a583f9 100644
--- a/libstdc++-v3/doc/html/manual/api.html
+++ b/libstdc++-v3/doc/html/manual/api.html
@@ -405,6 +405,13 @@ now defaults to zero.
   for C++20 mode. The removed functionality has been provided by
   <code class="classname">std::allocator_traits</code> since C++11 and that should
   be used instead.
+</p><p>
+  The type of the <code class="classname">std::iterator</code> base class of
+  <code class="classname">std::istreambuf_iterator</code> was changed to be
+  consistent for all <code class="option">-std</code> modes.
+  Before GCC 10.1 the base class had one type in C++98 mode and a
+  different type in C++11 and later modes. The type in C++98 mode
+  was changed to be the same as for C++11 and later.
 </p><p>
   Experimental C++2a support improved, with new headers
   <code class="filename">&lt;concepts&gt;</code>,
diff --git a/libstdc++-v3/doc/xml/manual/evolution.xml b/libstdc++-v3/doc/xml/manual/evolution.xml
index 38f11b0300d..55b8903baff 100644
--- a/libstdc++-v3/doc/xml/manual/evolution.xml
+++ b/libstdc++-v3/doc/xml/manual/evolution.xml
@@ -972,6 +972,15 @@ now defaults to zero.
   be used instead.
 </para>
 
+<para>
+  The type of the <classname>std::iterator</classname> base class of
+  <classname>std::istreambuf_iterator</classname> was changed to be
+  consistent for all <option>-std</option> modes.
+  Before GCC 10.1 the base class had one type in C++98 mode and a
+  different type in C++11 and later modes. The type in C++98 mode
+  was changed to be the same as for C++11 and later.
+</para>
+
 <para>
   Experimental C++2a support improved, with new headers
   <filename class="headerfile">&lt;concepts&gt;</filename>,


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-11-04 12:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-04 12:47 [gcc r11-4720] libstdc++: Document istreambuf_iterator base class change [PR 92285] Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).