[libcxx-commits] [libcxx] [libc++] Apply the predicate exactly N times in stable_partition (PR #203949)

David Meng via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 18 13:55:21 PDT 2026


davidmenggx wrote:

@ldionne Thank you for taking a look at this. My main question is why there is an asymmetry between the forward and backward scan loops to begin with? That loop seems to date back to < llvm3.3.

Tests also simplified

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


More information about the libcxx-commits mailing list