summaryrefslogtreecommitdiff
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorNikolas Klauser <nikolasklauser@berlin.de>2023-01-14 02:08:27 +0100
committerNikolas Klauser <n_klauser@apple.com>2023-04-29 20:41:42 -0700
commit8af259e8d90b449af0b32699efa5c761e2774886 (patch)
tree36e9d38fc4bdb3b38834018d8f6d5e2b1c70153a /libcxx/include/algorithm
parentebc05b93a11b8b011815beec504a270449deef4f (diff)
[libc++][PSTL] Implement std::{any, all, none}_of
Reviewed By: ldionne, #libc Spies: arichardson, libcxx-commits, miyuki Differential Revision: https://reviews.llvm.org/D143161
Diffstat (limited to 'libcxx/include/algorithm')
-rw-r--r--libcxx/include/algorithm4
1 files changed, 4 insertions, 0 deletions
diff --git a/libcxx/include/algorithm b/libcxx/include/algorithm
index f5dcffa0a3f8..d8d38b875c1f 100644
--- a/libcxx/include/algorithm
+++ b/libcxx/include/algorithm
@@ -1908,6 +1908,10 @@ template <class BidirectionalIterator, class Compare>
#include <__algorithm/unwrap_iter.h>
#include <__algorithm/upper_bound.h>
+#ifdef _LIBCPP_HAS_PARALLEL_ALGORITHMS
+# include <__algorithm/pstl_any_all_none_of.h>
+#endif
+
// standard-mandated includes
// [algorithm.syn]