https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100795
--- Comment #19 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:07832a5205389b4dc2b92fe58213386fe30ca618 commit r16-1744-g07832a5205389b4dc2b92fe58213386fe30ca618 Author: Patrick Palka <ppa...@redhat.com> Date: Fri Jun 27 13:53:32 2025 -0400 libstdc++: Directly implement ranges::stable_partition [PR100795] PR libstdc++/100795 libstdc++-v3/ChangeLog: * include/bits/ranges_algo.h (__detail::__find_if_not_n): New, based on the stl_algo.h implementation. (__detail::__stable_partition_adaptive): Likewise. (__stable_partition_fn::operator()): Reimplement in terms of the above. * testsuite/25_algorithms/stable_partition/constrained.cc (test03): New test. Reviewed-by: Jonathan Wakely <jwak...@redhat.com>