[libcxx-commits] [libcxx] [libc++] Optimize ranges::{for_each, for_each_n} for segmented iterators (PR #132896)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Mar 25 02:52:59 PDT 2025
================
@@ -10,7 +10,11 @@
#ifndef _LIBCPP___ALGORITHM_FOR_EACH_N_H
#define _LIBCPP___ALGORITHM_FOR_EACH_N_H
+#include <__algorithm/for_each.h>
----------------
frederick-vs-ja wrote:
Such inclusion seemingly defeats granularization. Was it intended not to use `<__algorithm/for_each_segment.h>` here?
https://github.com/llvm/llvm-project/pull/132896
More information about the libcxx-commits
mailing list