From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id DDEBA3846034 for ; Wed, 4 Nov 2020 13:01:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org DDEBA3846034 Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-115-TQbqcJ1aMjexQf5hCZxOMQ-1; Wed, 04 Nov 2020 08:01:17 -0500 X-MC-Unique: TQbqcJ1aMjexQf5hCZxOMQ-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 291E7D3E9C; Wed, 4 Nov 2020 13:00:45 +0000 (UTC) Received: from localhost (unknown [10.33.36.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id C9C935D9EF; Wed, 4 Nov 2020 13:00:44 +0000 (UTC) Date: Wed, 4 Nov 2020 13:00:44 +0000 From: Jonathan Wakely To: gcc-patches@gcc.gnu.org, libstdc++@gcc.gnu.org Subject: [wwwdocs] Document std::istreambuf_iterator change in GCC 10 [PR 92285] Message-ID: <20201104130044.GA3194479@redhat.com> MIME-Version: 1.0 X-Clacks-Overhead: GNU Terry Pratchett X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/mixed; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline X-Spam-Status: No, score=-14.2 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libstdc++@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++ mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Nov 2020 13:01:24 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline I'm adding this caveat to the gcc-10 release notes, as well as to the libstdc++ manual. Pushed to wwwdocs. --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: attachment; filename="patch.txt" Content-Transfer-Encoding: 8bit commit 6ffde10eba0811d1223eaba7e2a8daefe26276aa Author: Jonathan Wakely Date: Wed Nov 4 12:58:19 2020 +0000 Document std::istreambuf_iterator change in GCC 10 [PR 92285] diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html index 759e4fd7..d40a633c 100644 --- a/htdocs/gcc-10/changes.html +++ b/htdocs/gcc-10/changes.html @@ -65,6 +65,12 @@ You may also want to check out our Language (HSAIL) has been deprecated and will likely be removed in a future release. +
  • + The type of the std::iterator base class of + std::istreambuf_iterator was changed in C++98 mode + to be consistent with C++11 and later standards. + See the libstdc++ notes below for more details. +
  • @@ -504,6 +510,18 @@ int get_naïve_pi() {
  • Reduced header dependencies, leading to faster compilation for some code.
  • +
  • + The std::iterator base class of + std::istreambuf_iterator was changed in C++98 mode + to be consistent with C++11 and later standards. + This is expected to have no noticeable effect except in the unlikely case + of a class which has potentially overlapping subobjects of type + std::istreambuf_iterator<C> and another iterator type + with a std::iterator<input_iterator_tag, C, ...> + base class. The layout of such a type might change when compiled as C++98. + Bug 92285 + has more details and concrete examples. +
  • D

    --cWoXeonUoKmBZSoM--