From 3147053db9811075f77608e934a4f84fdcc28c2f Mon Sep 17 00:00:00 2001 From: Alexey Kukanov Date: Fri, 23 Aug 2024 16:32:58 +0200 Subject: [PATCH] Add missing namespaces --- .../parallel_api/parallel_range_api.rst | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/elements/oneDPL/source/parallel_api/parallel_range_api.rst b/source/elements/oneDPL/source/parallel_api/parallel_range_api.rst index 48f5c53b8..b16add536 100644 --- a/source/elements/oneDPL/source/parallel_api/parallel_range_api.rst +++ b/source/elements/oneDPL/source/parallel_api/parallel_range_api.rst @@ -33,47 +33,47 @@ Whole Sequence Operations namespace oneapi::dpl::ranges { // all_of - template , Proj > > Pred> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range bool all_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {}); // any_of - template , Proj > > Pred> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range bool any_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {}); // none_of - template , Proj > > Pred> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range bool none_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {}); // for_each - template , Proj > > Fun> + template , Proj > > Fun> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range - borrowed_iterator_t for_each(ExecutionPolicy&& pol, R&& r, Fun f, Proj proj = {}); + std::ranges::borrowed_iterator_t for_each(ExecutionPolicy&& pol, R&& r, Fun f, Proj proj = {}); // count - template , Proj>> + template , Proj>> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range - && indirect_binary_predicate, Proj >, const T*> - range_difference_t count(ExecutionPolicy&& pol, R&& r, const T& value, Proj proj = {}); + && std::indirect_binary_predicate, Proj >, const T*> + std::ranges::range_difference_t count(ExecutionPolicy&& pol, R&& r, const T& value, Proj proj = {}); // count_if - template , Proj > > Pred> requires oneapi::dpl::is_execution_policy_v> && std::ranges::sized_range - range_difference_t count_if(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {}); + std::ranges::range_difference_t count_if(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {}); }