[PATCH] libstdc++: Fix missing change to views::pairwise from P2165R4 [PR121956]

Jonathan Wakely jwakely@redhat.com
Tue Sep 16 16:43:10 GMT 2025


On Tue, 16 Sept 2025 at 17:15, Patrick Palka <ppalka@redhat.com> wrote:
>
> On Tue, 16 Sep 2025, Jonathan Wakely wrote:
>
> > ranges::adjacent_view::_Iterator::value_type should have been changed by
> > r14-8710-g65b4cba9d6a9ff to always produce std::tuple, even for the
> > N == 2 views::pairwise specialization.
>
> LGTM. I missed this part of P2165R4 because it didn't use the
> __tuple_or_pair helper

Yeah, I figured.

It's a pity that GCC 14 and 15 use std::pair here, but changing it
would be an ABI change, so it's probably best to not do that on the
release branches.



More information about the Libstdc++ mailing list