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/algorithm_fwd.h
Show All 16 Lines | |||||
#include "pstl_config.h" | #include "pstl_config.h" | ||||
_PSTL_HIDE_FROM_ABI_PUSH | _PSTL_HIDE_FROM_ABI_PUSH | ||||
namespace __pstl { | namespace __pstl { | ||||
namespace __internal { | namespace __internal { | ||||
//------------------------------------------------------------------------ | //------------------------------------------------------------------------ | ||||
// any_of | |||||
//------------------------------------------------------------------------ | |||||
template <class _ForwardIterator, class _Pred> | |||||
bool __brick_any_of(const _ForwardIterator, | |||||
const _ForwardIterator, | |||||
_Pred, | |||||
/*__is_vector=*/std::false_type) noexcept; | |||||
template <class _RandomAccessIterator, class _Pred> | |||||
bool __brick_any_of(const _RandomAccessIterator, | |||||
const _RandomAccessIterator, | |||||
_Pred, | |||||
/*__is_vector=*/std::true_type) noexcept; | |||||
template <class _Tag, class _ExecutionPolicy, class _ForwardIterator, class _Pred> | |||||
bool __pattern_any_of(_Tag, _ExecutionPolicy&&, _ForwardIterator, _ForwardIterator, _Pred) noexcept; | |||||
template <class _IsVector, class _ExecutionPolicy, class _RandomAccessIterator, class _Pred> | |||||
bool __pattern_any_of( | |||||
__parallel_tag<_IsVector>, _ExecutionPolicy&&, _RandomAccessIterator, _RandomAccessIterator, _Pred); | |||||
//------------------------------------------------------------------------ | |||||
// walk1 (pseudo) | // walk1 (pseudo) | ||||
// | // | ||||
// walk1 evaluates f(x) for each dereferenced value x drawn from [first,last) | // walk1 evaluates f(x) for each dereferenced value x drawn from [first,last) | ||||
//------------------------------------------------------------------------ | //------------------------------------------------------------------------ | ||||
template <class _ForwardIterator, class _Function> | template <class _ForwardIterator, class _Function> | ||||
void __brick_walk1(_ForwardIterator, | void __brick_walk1(_ForwardIterator, | ||||
_ForwardIterator, | _ForwardIterator, | ||||
▲ Show 20 Lines • Show All 1,766 Lines • Show Last 20 Lines |