Re: [PATCH] libstdc++: Fix parallel algos for move-only values [PR117905]

2025-05-06 Thread Jonathan Wakely
On Tue, 29 Apr 2025 at 09:45, Jonathan Wakely wrote: > > All of reduce, transform_reduce, exclusive_scan, and inclusive_scan, > transform_exclusive_scan, and transform_inclusive_scan have a > precondition that the type of init meets the Cpp17MoveConstructible > requirements. It isn't required to b

[PATCH] libstdc++: Fix parallel algos for move-only values [PR117905]

2025-04-29 Thread Jonathan Wakely
All of reduce, transform_reduce, exclusive_scan, and inclusive_scan, transform_exclusive_scan, and transform_inclusive_scan have a precondition that the type of init meets the Cpp17MoveConstructible requirements. It isn't required to be copy constructible, so when passing it to the next internal fu