After this patch, the only parts of P0879 that remain missing will be std::nth_element, std::sort, and the heap/partial_sort algorithms.
std::sort may be interesting, I'm not sure yet. The others are all trivial except that their existing tests use std::shuffle which is not constexpr-friendly, so I will rewrite those tests in a separate PR.
Details
Details
- Reviewers
ldionne - Group Reviewers
Restricted Project - Commits
- rGf851db3dae5c: [libc++] [P0879] constexpr std::reverse, partition, *_permutation.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The buildbot was indeed happy. Remove the *_heap algorithms (in preparation for their separate PR). This is now ready for landing AFAIC.