Re: [PATCH] libstdc++: Adding missing feature-test macros for C++23 ranges algos

2023-04-18 Thread Jakub Jelinek via Gcc-patches
On Tue, Apr 18, 2023 at 09:56:33AM +0100, Jonathan Wakely wrote: > On Mon, 17 Apr 2023 at 04:46, Patrick Palka via Libstdc++ > wrote: > > > > This patch also renames __cpp_lib_fold to __cpp_lib_ranges_fold > > as per the current draft standard. > > OK, but this needs RM approval to push to gcc-13

Re: [PATCH] libstdc++: Adding missing feature-test macros for C++23 ranges algos

2023-04-18 Thread Jonathan Wakely via Gcc-patches
On Mon, 17 Apr 2023 at 04:46, Patrick Palka via Libstdc++ wrote: > > This patch also renames __cpp_lib_fold to __cpp_lib_ranges_fold > as per the current draft standard. OK, but this needs RM approval to push to gcc-13 > > libstdc++-v3/ChangeLog: > > * include/bits/ranges_algo.h (__cpp_

[PATCH] libstdc++: Adding missing feature-test macros for C++23 ranges algos

2023-04-16 Thread Patrick Palka via Gcc-patches
This patch also renames __cpp_lib_fold to __cpp_lib_ranges_fold as per the current draft standard. libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__cpp_lib_ranges_contains): Define for C++23. (__cpp_lib_ranges_iota): Likewise. (__cpp_lib_ranges_find_last): L