public inbox for libstdc++-cvs@sourceware.org help / color / mirror / Atom feed
From: Patrick Palka <ppalka@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r10-9797] libstdc++: Implement proposed resolution for LWG 3532 Date: Tue, 4 May 2021 13:51:04 +0000 (GMT) [thread overview] Message-ID: <20210504135104.E7093398B8BB@sourceware.org> (raw) https://gcc.gnu.org/g:4134c3e3af83f9973f20b346a197dc0085495285 commit r10-9797-g4134c3e3af83f9973f20b346a197dc0085495285 Author: Patrick Palka <ppalka@redhat.com> Date: Fri Apr 30 11:05:22 2021 -0400 libstdc++: Implement proposed resolution for LWG 3532 libstdc++-v3/ChangeLog: * include/std/ranges (split_view::_InnerIter::operator++): Depend on _Base instead of _Vp directly, as per LWG 3532. (cherry picked from commit 71834be5b68e0c9839f0647e1bbf1eec4e4bbf49) Diff: --- libstdc++-v3/include/std/ranges | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libstdc++-v3/include/std/ranges b/libstdc++-v3/include/std/ranges index d1eb8eaefe0..822329c0800 100644 --- a/libstdc++-v3/include/std/ranges +++ b/libstdc++-v3/include/std/ranges @@ -3080,7 +3080,7 @@ namespace views constexpr decltype(auto) operator++(int) { - if constexpr (forward_range<_Vp>) + if constexpr (forward_range<_Base>) { auto __tmp = *this; ++*this;
reply other threads:[~2021-05-04 13:51 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20210504135104.E7093398B8BB@sourceware.org \ --to=ppalka@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ --cc=libstdc++-cvs@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: linkBe 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).