Re: [PATCH] libstdc++: Implement ranges::shift_left/right from P2440R1

2025-07-01 Thread Jonathan Wakely
On Mon, 30 Jun 2025 at 22:16, Patrick Palka wrote: > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk? > > Btw, any thoughts on PR105611 which reports std::shift_left/right's use > of the three-parameter version of ranges::next (on legacy iterators) is > sketchy? Should we define a th

[PATCH] libstdc++: Implement ranges::shift_left/right from P2440R1

2025-06-30 Thread Patrick Palka
Tested on x86_64-pc-linux-gnu, does this look OK for trunk? Btw, any thoughts on PR105611 which reports std::shift_left/right's use of the three-parameter version of ranges::next (on legacy iterators) is sketchy? Should we define a three-parameter std::__next analog for legacy iterators and use t