[libcxx-commits] [libcxx] [libcxx] Added segmented iterator for count_if (PR #105888)

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 30 12:55:59 PDT 2024


================
@@ -10,26 +10,52 @@
 #ifndef _LIBCPP___ALGORITHM_COUNT_IF_H
 #define _LIBCPP___ALGORITHM_COUNT_IF_H
 
+#include <__algorithm/for_each.h>
----------------
philnik777 wrote:

Not attached: This optimization should also be applied to `ranges::count_if`.

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


More information about the libcxx-commits mailing list