Re: [PATCH] libstdc++: Implement LWG 3470 change to ranges::subrange

2021-10-19 Thread Jonathan Wakely via Gcc-patches
On Tue, 19 Oct 2021, 19:30 Patrick Palka via Libstdc++, < libstd...@gcc.gnu.org> wrote: > Tested on x86_64-pc-linux-gnu, does this look OK for trunk and branches? > Yes, thanks. > libstdc++-v3/ChangeLog: > > * include/bits/ranges_util.h > (__detail::__uses_nonqualification_point

[PATCH] libstdc++: Implement LWG 3470 change to ranges::subrange

2021-10-19 Thread Patrick Palka via Gcc-patches
Tested on x86_64-pc-linux-gnu, does this look OK for trunk and branches? libstdc++-v3/ChangeLog: * include/bits/ranges_util.h (__detail::__uses_nonqualification_pointer_conversion): Define and use it ... (__convertible_to_nonslicing): ... here, as per LWG 3470.