https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795
--- Comment #20 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Patrick Palka <ppa...@gcc.gnu.org>: https://gcc.gnu.org/g:d06373fa3483a1ccb182c2da7e6cf2330f48bac1 commit r16-1745-gd06373fa3483a1ccb182c2da7e6cf2330f48bac1 Author: Patrick Palka <ppa...@redhat.com> Date: Fri Jun 27 13:53:34 2025 -0400 libstdc++: Directly implement ranges::nth_element [PR100795] PR libstdc++/100795 libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__detail::__introselect): New, based on the stl_algo.h implementation. (nth_element_fn::operator()): Reimplement in terms of the above. * testsuite/25_algorithms/nth_element/constrained.cc: Reviewed-by: Jonathan Wakely <jwak...@redhat.com>