[libcxx-commits] [libcxx] [libc++] Optimize ranges::copy{, _n} for vector<bool>::iterator (PR #121013)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jan 29 09:13:53 PST 2025


================
@@ -204,6 +227,16 @@ constexpr bool test() {
     }
   }
 
+#if TEST_STD_VER >= 23
+  { // Test vector<bool>::iterator optimization
+    assert(test_vector_bool(8));
----------------
ldionne wrote:

Same.

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


More information about the libcxx-commits mailing list