public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "cvs-commit at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libstdc++/101589] Incorrect implementation of LWG 3533 for elements_view
Date: Tue, 12 Oct 2021 18:09:28 +0000	[thread overview]
Message-ID: <bug-101589-4-G19IOoSgQ4@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-101589-4@http.gcc.gnu.org/bugzilla/>

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101589

--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Patrick Palka
<ppalka@gcc.gnu.org>:

https://gcc.gnu.org/g:d187dfbd038a9be68ceb81a6ce4125d50cb453f9

commit r11-9131-gd187dfbd038a9be68ceb81a6ce4125d50cb453f9
Author: Patrick Palka <ppalka@redhat.com>
Date:   Mon Aug 2 15:30:13 2021 -0400

    libstdc++: Fix up implementation of LWG 3533 [PR101589]

    In r12-569 I accidentally applied the LWG 3533 change to
    elements_view::iterator::base instead to elements_view::base.

    This patch corrects this, and also applies the corresponding LWG 3533
    change to lazy_split_view::inner-iter::base now that we implement P2210.

            PR libstdc++/101589

    libstdc++-v3/ChangeLog:

            * include/std/ranges (lazy_split_view::_InnerIter::base): Make
            the const& overload unconstrained and return a const reference
            as per LWG 3533.  Make unconditionally noexcept.
            (elements_view::base): Revert accidental r12-569 change.
            (elements_view::_Iterator::base): Make the const& overload
            unconstrained and return a const reference as per LWG 3533.
            Make unconditionally noexcept.

    (cherry picked from commit 4414057186b227edf5b5efa527732bfcdf39d575)

  parent reply	other threads:[~2021-10-12 18:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-23  2:21 [Bug c++/101589] New: " ensadc at mailnesia dot com
2021-07-23  3:46 ` [Bug libstdc++/101589] " ppalka at gcc dot gnu.org
2021-08-02 19:30 ` cvs-commit at gcc dot gnu.org
2021-10-12 18:09 ` cvs-commit at gcc dot gnu.org [this message]
2021-10-12 18:38 ` cvs-commit at gcc dot gnu.org
2021-10-12 18:39 ` ppalka at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-101589-4-G19IOoSgQ4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).