Re: [PATCH] libstdc++: Ensure defines __pair_like

2025-03-15 Thread Patrick Palka
On Thu, Mar 6, 2025 at 6:28 AM Jonathan Wakely wrote: > > We need to include in C++23 and later, so that > __pair_like_convertible_from can use __pair_like. > > libstdc++-v3/ChangeLog: > > * include/bits/ranges_util.h: Include . > --- > > Very lightly tested on x86_64-linux. > > I noticed

Re: [PATCH] libstdc++: Ensure defines __pair_like

2025-03-09 Thread Jonathan Wakely
On Thu, 6 Mar 2025 at 16:09, Patrick Palka wrote: > > On Thu, Mar 6, 2025 at 6:28 AM Jonathan Wakely wrote: > > > > We need to include in C++23 and later, so that > > __pair_like_convertible_from can use __pair_like. > > > > libstdc++-v3/ChangeLog: > > > > * include/bits/ranges_util.h: I

[PATCH] libstdc++: Ensure defines __pair_like

2025-03-06 Thread Jonathan Wakely
We need to include in C++23 and later, so that __pair_like_convertible_from can use __pair_like. libstdc++-v3/ChangeLog: * include/bits/ranges_util.h: Include . --- Very lightly tested on x86_64-linux. I noticed this because I wanted to use ranges::subrange in a new header which didn't