tmp/tmpl0c3a75q/{from.md → to.md}
RENAMED
|
@@ -37,11 +37,11 @@ are convertible to `T`.
|
|
| 37 |
through `result + K` the value of:
|
| 38 |
|
| 39 |
``` cpp
|
| 40 |
GENERALIZED_NONCOMMUTATIVE_SUM(
|
| 41 |
binary_op, init,
|
| 42 |
-
unary_op(*(first + 0)), unary_op(*(first + 1)),
|
| 43 |
```
|
| 44 |
|
| 45 |
*Returns:* The end of the resulting range beginning at `result`.
|
| 46 |
|
| 47 |
*Complexity:* 𝑂(`last - first`) applications each of `unary_op` and
|
|
|
|
| 37 |
through `result + K` the value of:
|
| 38 |
|
| 39 |
``` cpp
|
| 40 |
GENERALIZED_NONCOMMUTATIVE_SUM(
|
| 41 |
binary_op, init,
|
| 42 |
+
unary_op(*(first + 0)), unary_op(*(first + 1)), …, unary_op(*(first + K - 1)))
|
| 43 |
```
|
| 44 |
|
| 45 |
*Returns:* The end of the resulting range beginning at `result`.
|
| 46 |
|
| 47 |
*Complexity:* 𝑂(`last - first`) applications each of `unary_op` and
|