[libcxx-commits] [PATCH] D96084: Revert "Revert "[libc++] [P0879] constexpr std::nth_element, and rewrite its tests.""
Arthur O'Dwyer via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Feb 4 15:19:39 PST 2021
Quuxplusone created this revision.
Quuxplusone added reviewers: ldionne, rupprecht.
Quuxplusone added a project: libc++.
Quuxplusone requested review of this revision.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
The bug is now fixed (it was a stupid cut-and-paste kind of error), and the regression test added.
The new patch is also simpler than the old one!
This is an updated version of D93557 <https://reviews.llvm.org/D93557>.
Subsumes D96074 <https://reviews.llvm.org/D96074>.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D96084
Files:
libcxx/include/algorithm
libcxx/test/std/algorithms/alg.sorting/alg.nth.element/nth_element.pass.cpp
libcxx/test/std/algorithms/alg.sorting/alg.nth.element/nth_element_comp.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96084.321583.patch
Type: text/x-patch
Size: 16123 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210204/e1f19292/attachment.bin>
More information about the libcxx-commits
mailing list