[libcxx-commits] [libcxx] [libc++][pstl] Generic implementation of parallel std::is_sorted_until (PR #178756)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 16 02:20:25 PST 2026


https://github.com/philnik777 commented:

I feel like it would make more sense to forward `is_sorted_until` to `adjacent_find`. I think that should just be something similar to `adjacent_find(first, last, invert_pred(pred))`.
IMO it'd make more sense to makre `adjacent_find` a fundamental operation, since chunking is quite relevant there probably. Any thoughts? 

https://github.com/llvm/llvm-project/pull/178756


More information about the libcxx-commits mailing list