[libcxx-commits] [libcxx] [libcxx] Added segmented iterator for count_if (PR #105888)
via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Sep 5 02:15:46 PDT 2024
================
@@ -10,26 +10,52 @@
#ifndef _LIBCPP___ALGORITHM_COUNT_IF_H
#define _LIBCPP___ALGORITHM_COUNT_IF_H
+#include <__algorithm/for_each.h>
----------------
adeel10x wrote:
I just want to confirm that you mean to say `ranges::count_if` and not `std::count`?
Also, Is `ranges::for_each` optimizeded for segmented iterators?
https://github.com/llvm/llvm-project/pull/105888
More information about the libcxx-commits
mailing list