Changeset View
Changeset View
Standalone View
Standalone View
include/pstl/internal/glue_algorithm_impl.h
// -*- C++ -*- | // -*- C++ -*- | ||||
//===-- glue_algorithm_impl.h ---------------------------------------------===// | //===-- glue_algorithm_impl.h ---------------------------------------------===// | ||||
// | // | ||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||||
// See https://llvm.org/LICENSE.txt for license information. | // See https://llvm.org/LICENSE.txt for license information. | ||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
#ifndef __PSTL_glue_algorithm_impl_H | #ifndef __PSTL_glue_algorithm_impl_H | ||||
#define __PSTL_glue_algorithm_impl_H | #define __PSTL_glue_algorithm_impl_H | ||||
#include <functional> | #include <functional> | ||||
#include "execution_defs.h" | #include "execution_defs.h" | ||||
#include "utils.h" | #include "utils.h" | ||||
#include "algorithm_impl.h" | #include "algorithm_fwd.h" | ||||
#include "numeric_impl.h" /* count and count_if use pattern_transform_reduce */ | #include "numeric_fwd.h" /* count and count_if use pattern_transform_reduce */ | ||||
namespace std | namespace std | ||||
{ | { | ||||
// [alg.any_of] | // [alg.any_of] | ||||
template <class _ExecutionPolicy, class _ForwardIterator, class _Predicate> | template <class _ExecutionPolicy, class _ForwardIterator, class _Predicate> | ||||
__pstl::internal::enable_if_execution_policy<_ExecutionPolicy, bool> | __pstl::internal::enable_if_execution_policy<_ExecutionPolicy, bool> | ||||
▲ Show 20 Lines • Show All 1,146 Lines • Show Last 20 Lines |