Skip to content

Commit

Permalink
Add missing namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
akukanov committed Aug 23, 2024
1 parent 1b5c99e commit 3147053
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions source/elements/oneDPL/source/parallel_api/parallel_range_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,47 +33,47 @@ Whole Sequence Operations
namespace oneapi::dpl::ranges {
// all_of
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
std::indirect_unary_predicate< std::projected< std::ranges::iterator_t<R>, Proj > > Pred>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
bool all_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {});
// any_of
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
std::indirect_unary_predicate< std::projected< std::ranges::iterator_t<R>, Proj > > Pred>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
bool any_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {});
// none_of
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
std::indirect_unary_predicate< std::projected< std::ranges::iterator_t<R>, Proj > > Pred>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
bool none_of(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {});
// for_each
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
indirectly_unary_invocable< std::projected< std::ranges::iterator_t<R>, Proj > > Fun>
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
std::indirectly_unary_invocable< std::projected< std::ranges::iterator_t<R>, Proj > > Fun>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
borrowed_iterator_t<R> for_each(ExecutionPolicy&& pol, R&& r, Fun f, Proj proj = {});
std::ranges::borrowed_iterator_t<R> for_each(ExecutionPolicy&& pol, R&& r, Fun f, Proj proj = {});
// count
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
typename T = projected_value_t<std::ranges::iterator_t<R>, Proj>>
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
typename T = std::projected_value_t<std::ranges::iterator_t<R>, Proj>>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
&& indirect_binary_predicate<ranges::equal_to, std::projected< std::ranges::iterator_t<R>, Proj >, const T*>
range_difference_t<R> count(ExecutionPolicy&& pol, R&& r, const T& value, Proj proj = {});
&& std::indirect_binary_predicate<std::ranges::equal_to, std::projected< std::ranges::iterator_t<R>, Proj >, const T*>
std::ranges::range_difference_t<R> count(ExecutionPolicy&& pol, R&& r, const T& value, Proj proj = {});
// count_if
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = identity,
template <typename ExecutionPolicy, std::ranges::random_access_range R, typename Proj = std::identity,
std::indirect_unary_predicate< std::projected< std::ranges::iterator_t<R>, Proj > > Pred>
requires oneapi::dpl::is_execution_policy_v<std::remove_cvref_t<ExecutionPolicy>>
&& std::ranges::sized_range<R>
range_difference_t<R> count_if(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {});
std::ranges::range_difference_t<R> count_if(ExecutionPolicy&& pol, R&& r, Pred pred, Proj proj = {});
}
Expand Down

0 comments on commit 3147053

Please sign in to comment.