[libcxx-commits] [libcxx] [libc++] Optimize ranges::{for_each, for_each_n} for segmented iterators (PR #132896)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 25 14:51:03 PDT 2025


================
@@ -258,7 +258,7 @@ constexpr bool all_the_algorithms()
 int main(int, char**)
 {
     all_the_algorithms();
-    static_assert(all_the_algorithms());
+    // static_assert(all_the_algorithms());
----------------
ldionne wrote:

Is this ready to review? If not, you can upload as a draft instead!

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


More information about the libcxx-commits mailing list