[libcxx-commits] [libcxx] [libc++][pstl] Implementation of parallel std::reverse() based on parallel for_each (PR #213487)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Aug 3 06:02:29 PDT 2026
================
@@ -560,6 +560,18 @@ generate_n(_ExecutionPolicy&& __policy, _ForwardIterator __first, _Size __n, _Ge
std::forward<_ExecutionPolicy>(__policy), std::move(__first), std::move(__n), std::move(__gen));
----------------
ldionne wrote:
In `backends/default.h`, I would add an entry like this to the top comment:
```
// reverse family
// ------------
// No other algorithms based on reverse
```
We can decide how to better handle that documentation later, but let's be consistent with what we've done so far for basis operations. See e.g. how `merge` is handled there.
https://github.com/llvm/llvm-project/pull/213487
More information about the libcxx-commits
mailing list