Skip to content

Commit

Permalink
style: fix formatting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bhumitattarde committed Aug 4, 2022
1 parent c049efa commit 5859600
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,8 @@ namespace hpx {
///
template <typename ExPolicy, typename FwdIter1, typename FwdIter2,
typename F>
parallel::util::detail::algorithm_result_t<ExPolicy, FwdIter2>
transform(ExPolicy&& policy, FwdIter1 first, FwdIter1 last,
FwdIter2 dest, F&& f);
parallel::util::detail::algorithm_result_t<ExPolicy, FwdIter2> transform(
ExPolicy&& policy, FwdIter1 first, FwdIter1 last, FwdIter2 dest, F&& f);

/// Applies the given function \a f to pairs of elements from two ranges:
/// one defined by [first1, last1) and the other beginning at first2, and
Expand Down Expand Up @@ -189,8 +188,8 @@ namespace hpx {
///
template <typename FwdIter1, typename FwdIter2, typename FwdIter3,
typename F>
FwdIter3 transform(FwdIter1 first1, FwdIter1 last1, FwdIter2 first2,
FwdIter3 dest, F&& f);
FwdIter3 transform(
FwdIter1 first1, FwdIter1 last1, FwdIter2 first2, FwdIter3 dest, F&& f);

/// Applies the given function \a f to pairs of elements from two ranges:
/// one defined by [first1, last1) and the other beginning at first2, and
Expand Down Expand Up @@ -268,9 +267,9 @@ namespace hpx {
///
template <typename ExPolicy, typename FwdIter1, typename FwdIter2,
typename FwdIter3, typename F>
parallel::util::detail::algorithm_result_t<ExPolicy, FwdIter3>
transform(ExPolicy&& policy, FwdIter1 first1, FwdIter1 last1,
FwdIter2 first2, FwdIter3 dest, F&& f);
parallel::util::detail::algorithm_result_t<ExPolicy, FwdIter3> transform(
ExPolicy&& policy, FwdIter1 first1, FwdIter1 last1, FwdIter2 first2,
FwdIter3 dest, F&& f);

} // namespace hpx

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ namespace hpx {
/// noncommutative sum GNSUM(op, a1, ..., a N) is defined as follows:
/// - if N=1, a1
/// - if N > 1, op(GNSUM(op, a1, ..., aK), GNSUM(op, aM, ..., aN))
/// for any K where 1 < K+1 = M N
/// for any K where 1 < K+1 = M <= N
/// In other words, the summation operations may be performed in arbitrary
/// order, and the behavior is nondeterministic if \a binary_op is not
/// associative.
Expand Down Expand Up @@ -55,7 +55,7 @@ namespace hpx {
/// \param init The initial value for the generalized sum.
/// \param binary_op Binary \a FunctionObject that will be applied to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init.
/// \a binary_op, and \a init.
/// \param unary_op Unary \a FunctionObject that will be applied to each
/// element of the input range. The return type must
/// be acceptable as input to \a binary_op.
Expand Down Expand Up @@ -123,7 +123,7 @@ namespace hpx {
/// \param init The initial value for the generalized sum.
/// \param binary_op Binary \a FunctionObject that will be applied in to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init.
/// \a binary_op, and \a init.
/// \param unary_op Unary \a FunctionObject that will be applied to each
/// element of the input range. The return type must
/// be acceptable as input to \a binary_op.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ namespace hpx {
/// conv(*(first + (i - result)))).
///
/// \note Complexity: O(last - first) applications of each of
/// \a binary_op and \a unary_op.
/// \a binary_op and \a unary_op.
///
/// \tparam InIter The type of the source iterators used (deduced).
/// This iterator type must meet the requirements of an
Expand All @@ -39,7 +39,7 @@ namespace hpx {
/// \param dest Refers to the beginning of the destination range.
/// \param binary_op Binary \a FunctionObject that will be applied in to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init if provided.
/// \a binary_op, and \a init if provided.
/// \param unary_op Unary \a FunctionObject that will be applied to each
/// element of the input range. The return type must
/// be acceptable as input to \a binary_op.
Expand Down Expand Up @@ -79,7 +79,7 @@ namespace hpx {
/// conv(*(first + (i - result)))). Executed according to the policy.
///
/// \note Complexity: O(last - first) applications of each of
/// \a binary_op and \a unary_op.
/// \a binary_op and \a unary_op.
///
/// \tparam ExPolicy The type of the execution policy to use (deduced).
/// It describes the manner in which the execution
Expand All @@ -104,10 +104,10 @@ namespace hpx {
/// \param dest Refers to the beginning of the destination range.
/// \param binary_op Binary \a FunctionObject that will be applied in to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init if provided.
/// \a binary_op, and \a init if provided.
/// \param unnary_op Unary \a FunctionObject that will be applied to
/// each element of the input range. The return type
/// must be acceptable as input to \a binary_op.
/// must be acceptable as input to \a binary_op.
///
/// The reduce operations in the parallel \a transform_inclusive_scan
/// algorithm invoked with an execution policy object of type \a
Expand Down Expand Up @@ -156,7 +156,7 @@ namespace hpx {
/// conv(*(first + (i - result)))).
///
/// \note Complexity: O(last - first) applications of each of
/// \a binary_op and \a unary_op.
/// \a binary_op and \a unary_op.
///
/// \tparam InIter The type of the source iterators used (deduced).
/// This iterator type must meet the requirements of an
Expand All @@ -177,10 +177,10 @@ namespace hpx {
/// \param dest Refers to the beginning of the destination range.
/// \param binary_op Binary \a FunctionObject that will be applied in to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init if provided.
/// \a binary_op, and \a init if provided.
/// \param unnary_op Unary \a FunctionObject that will be applied to
/// each element of the input range. The return type
/// must be acceptable as input to \a binary_op.
/// must be acceptable as input to \a binary_op.
/// \param init The initial value for the generalized sum.
///
/// The reduce operations in the parallel \a transform_inclusive_scan
Expand Down Expand Up @@ -220,7 +220,7 @@ namespace hpx {
/// conv(*(first + (i - result)))). Executed according to the policy.
///
/// \note Complexity: O(last - first) applications of each of
/// \a binary_op and \a unary_op.
/// \a binary_op and \a unary_op.
///
/// \tparam ExPolicy The type of the execution policy to use (deduced).
/// It describes the manner in which the execution
Expand All @@ -247,10 +247,10 @@ namespace hpx {
/// \param dest Refers to the beginning of the destination range.
/// \param binary_op Binary \a FunctionObject that will be applied in to
/// the result of \a unary_op, the results of other
/// \a binary_op, and \a init if provided.
/// \a binary_op, and \a init if provided.
/// \param unnary_op Unary \a FunctionObject that will be applied to
/// each element of the input range. The return type
/// must be acceptable as input to \a binary_op.
/// must be acceptable as input to \a binary_op.
/// \param init The initial value for the generalized sum.
///
/// The reduce operations in the parallel \a transform_inclusive_scan
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,11 +122,11 @@ namespace hpx {
/// first element is an iterator to the element past the last
/// element moved in the source range, and whose second element
/// is an iterator to the element past the last element moved
/// in the destination range.
/// in the destination range.
///
template <typename InIter, typename Size, typename FwdIter>
std::pair<InIter, FwdIter> uninitialized_move_n(InIter first, Size count,
FwdIter dest);
std::pair<InIter, FwdIter> uninitialized_move_n(
InIter first, Size count, FwdIter dest);

/// Moves the elements in the range [first, first + count), starting from
/// first and proceeding to first + count - 1., to another range beginning
Expand Down Expand Up @@ -182,12 +182,12 @@ namespace hpx {
/// first element is an iterator to the element past the last
/// element moved in the source range, and whose second element
/// is an iterator to the element past the last element moved
/// in the destination range.
/// in the destination range.
///
template <typename ExPolicy, typename FwdIter1, typename Size,
typename FwdIter2>
typename parallel::util::detail::algorithm_result<ExPolicy,
std::pair<FwdIter1, FwdIter2>>::type
std::pair<FwdIter1, FwdIter2>>::type
uninitialized_move_n(
ExPolicy&& policy, FwdIter1 first, Size count, FwdIter2 dest);
} // namespace hpx
Expand Down

0 comments on commit 5859600

Please sign in to comment.