aboutsummaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-01-19 20:10:11 +0100
committerNikolas Klauser <n_klauser@apple.com>2023-04-30 13:27:20 -0700
commit68ee014b15d3c936b8adb333d6a3f973f071f2cf (patch)
treec0b11060fda039228d8eb443a99d7eed65aaf9de /libcxx/include/algorithm
parent0b24436591e1bbea5943d7ef816544f2d90d26d2 (diff)
downloadllvm-68ee014b15d3c936b8adb333d6a3f973f071f2cf.zip
llvm-68ee014b15d3c936b8adb333d6a3f973f071f2cf.tar.gz
llvm-68ee014b15d3c936b8adb333d6a3f973f071f2cf.tar.bz2
[libc++][PSTL] Implement std::for_each{, _n}
Reviewed By: ldionne, #libc Spies: libcxx-commits Differential Revision: https://reviews.llvm.org/D149381
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index d8d38b8..611c639 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -1910,6 +1910,7 @@ template <class BidirectionalIterator, class Compare>
#ifdef _LIBCPP_HAS_PARALLEL_ALGORITHMS
# include <__algorithm/pstl_any_all_none_of.h>
+# include <__algorithm/pstl_for_each.h>
#endif
// standard-mandated includes