Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
libcxx/include/pstl/internal/glue_algorithm_defs.h
Show All 14 Lines | |||||
#include "execution_defs.h" | #include "execution_defs.h" | ||||
#include "pstl_config.h" | #include "pstl_config.h" | ||||
_PSTL_HIDE_FROM_ABI_PUSH | _PSTL_HIDE_FROM_ABI_PUSH | ||||
namespace std { | namespace std { | ||||
// [alg.any_of] | |||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Predicate> | |||||
__pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, bool> | |||||
any_of(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Predicate __pred); | |||||
// [alg.all_of] | |||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Predicate> | |||||
__pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, bool> | |||||
all_of(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Predicate __pred); | |||||
// [alg.none_of] | |||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Predicate> | |||||
__pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, bool> | |||||
none_of(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Predicate __pred); | |||||
// [alg.foreach] | // [alg.foreach] | ||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Function> | template <class _ExecutionPolicy, class _ForwardIterator, class _Function> | ||||
__pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> | __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, void> | ||||
for_each(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Function __f); | for_each(_ExecutionPolicy&& __exec, _ForwardIterator __first, _ForwardIterator __last, _Function __f); | ||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Size, class _Function> | template <class _ExecutionPolicy, class _ForwardIterator, class _Size, class _Function> | ||||
__pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> | __pstl::__internal::__enable_if_execution_policy<_ExecutionPolicy, _ForwardIterator> | ||||
▲ Show 20 Lines • Show All 694 Lines • Show Last 20 Lines |