[libcxx-commits] [libcxx] [libc++][pstl] Implementation of parallel std::search_n() based on __parallel_find() (PR #214069)

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Wed Aug 12 20:12:05 PDT 2026


================
@@ -22,11 +22,13 @@
 
 template <class Iter>
 TEST_CONSTEXPR_CXX20 bool test() {
+#if TEST_STD_VER >= 11
----------------
frederick-vs-ja wrote:

We can remove this guard, maybe in a follow-up PR, as libc++ backports `is_same` to C++03 mode.

Existing parts of this test file are using `std::begin`/`std::end` which are introduced in C++11 but backported to C++03 mode in libc++.

(BTW, you should a be able to merge this PR yourself now.)

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


More information about the libcxx-commits mailing list