|
9125 | 9125 | \pnum
|
9126 | 9126 | \effects Equivalent to:
|
9127 | 9127 | \begin{codeblock}
|
9128 |
| -return exclusive_scan(std::forward<ExecutionPolicy>(exec), first, last, result, init, plus<>()); |
| 9128 | +return exclusive_scan(std::forward<ExecutionPolicy>(exec), |
| 9129 | + first, last, result, init, plus<>()); |
9129 | 9130 | \end{codeblock}
|
9130 | 9131 | \end{itemdescr}
|
9131 | 9132 |
|
|
9136 | 9137 | OutputIterator exclusive_scan(InputIterator first, InputIterator last,
|
9137 | 9138 | OutputIterator result,
|
9138 | 9139 | T init, BinaryOperation binary_op);
|
9139 |
| -template<class ExecutionPolicy, class InputIterator, class OutputIterator, class T, class BinaryOperation> |
| 9140 | +template<class ExecutionPolicy, |
| 9141 | + class InputIterator, class OutputIterator, class T, class BinaryOperation> |
9140 | 9142 | OutputIterator exclusive_scan(ExecutionPolicy&& exec,
|
9141 | 9143 | InputIterator first, InputIterator last,
|
9142 | 9144 | OutputIterator result,
|
|
9153 | 9155 | \pnum
|
9154 | 9156 | \effects
|
9155 | 9157 | Assigns through each iterator \tcode{i} in \range{result}{result + (last - first)} the value of
|
9156 |
| -\tcode{\textit{GENERALIZED_NONCOMMUTATIVE_SUM}(binary_op, init, *j, ...)} |
| 9158 | +\begin{codeblock} |
| 9159 | +@\placeholder{GENERALIZED_NONCOMMUTATIVE_SUM}@(binary_op, init, *j, ...) |
| 9160 | +\end{codeblock} |
9157 | 9161 | for every \tcode{j} in \range{first}{first + (i - result)}.
|
9158 | 9162 |
|
9159 | 9163 | \pnum
|
|
9226 | 9230 | OutputIterator inclusive_scan(InputIterator first, InputIterator last,
|
9227 | 9231 | OutputIterator result,
|
9228 | 9232 | BinaryOperation binary_op, T init);
|
9229 |
| -template<class ExecutionPolicy, class InputIterator, class OutputIterator, class BinaryOperation, class T> |
| 9233 | +template<class ExecutionPolicy, |
| 9234 | + class InputIterator, class OutputIterator, class BinaryOperation, class T> |
9230 | 9235 | OutputIterator inclusive_scan(ExecutionPolicy&& exec,
|
9231 | 9236 | InputIterator first, InputIterator last,
|
9232 | 9237 | OutputIterator result,
|
|
0 commit comments