Re: [PATCH 2/2] libstdc++: Implement reverse iteration for _Utf_view

2025-07-18 Thread Jonathan Wakely
On Fri, 18 Jul 2025 at 07:59, Tomasz Kaminski wrote: > > > > On Thu, Jul 17, 2025 at 7:02 PM Jonathan Wakely wrote: >> >> This implements the missing functions in _Utf_iterator to support >> reverse iteration. All existing tests pass when the view is reversed, so >> that the same code units are s

Re: [PATCH 2/2] libstdc++: Implement reverse iteration for _Utf_view

2025-07-18 Thread Tomasz Kaminski
On Thu, Jul 17, 2025 at 7:02 PM Jonathan Wakely wrote: > This implements the missing functions in _Utf_iterator to support > reverse iteration. All existing tests pass when the view is reversed, so > that the same code units are seen when iterating forwards or backwards. > > libstdc++-v3/ChangeLo

[PATCH 2/2] libstdc++: Implement reverse iteration for _Utf_view

2025-07-17 Thread Jonathan Wakely
This implements the missing functions in _Utf_iterator to support reverse iteration. All existing tests pass when the view is reversed, so that the same code units are seen when iterating forwards or backwards. libstdc++-v3/ChangeLog: * include/bits/unicode.h (_Utf_iterator::operator--):