Re: [PATCH] libstdc++: Fix chunk_by_view when value_type& and reference differ [PR108291]

2023-04-12 Thread Jonathan Wakely via Gcc-patches
On Wed, 12 Apr 2023 at 15:41, Patrick Palka via Libstdc++ wrote: > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk? OK, thanks. > > PR libstdc++/108291 > > libstdc++-v3/ChangeLog: > > * include/std/ranges (chunk_by_view::_M_find_next): Generalize > parameter

[PATCH] libstdc++: Fix chunk_by_view when value_type& and reference differ [PR108291]

2023-04-12 Thread Patrick Palka via Gcc-patches
Tested on x86_64-pc-linux-gnu, does this look OK for trunk? PR libstdc++/108291 libstdc++-v3/ChangeLog: * include/std/ranges (chunk_by_view::_M_find_next): Generalize parameter types of the predicate passed to adjacent_find. (chunk_by_view::_M_find_prev): Likewise