Re: [PATCH] libstdc++: Implement ranges::fold_* from P2322R6

2023-04-14 Thread Jonathan Wakely via Gcc-patches
On Fri, 14 Apr 2023 at 05:01, Patrick Palka via Libstdc++ wrote: > > Tested on x86_64-pc-linux-gnu, does this look OK for trunk? OK, looks good, thanks. > > libstdc++-v3/ChangeLog: > > * include/bits/ranges_algo.h: Include for C++23. > (__cpp_lib_fold): Define for C++23. >

[PATCH] libstdc++: Implement ranges::fold_* from P2322R6

2023-04-13 Thread Patrick Palka via Gcc-patches
Tested on x86_64-pc-linux-gnu, does this look OK for trunk? libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h: Include for C++23. (__cpp_lib_fold): Define for C++23. (in_value_result): Likewise. (__detail::__flipped): Likewise. (__detail::__indirectly_b