|
1214 | 1214 | requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
|
1215 | 1215 | constexpr auto fold_left_first(I first, S last, F f);
|
1216 | 1216 |
|
1217 |
| - template <@\libconcept{input_range}@ R, @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
| 1217 | + template<@\libconcept{input_range}@ R, @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
1218 | 1218 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
1219 | 1219 | constexpr auto fold_left_first(R&& r, F f);
|
1220 | 1220 |
|
|
1226 | 1226 | @\exposconcept{indirectly-binary-right-foldable}@<T, iterator_t<R>> F>
|
1227 | 1227 | constexpr auto fold_right(R&& r, T init, F f);
|
1228 | 1228 |
|
| 1229 | +<<<<<<< Updated upstream |
1229 | 1230 | template <@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S,
|
| 1231 | + @\exposconcept{indirectly-binary-right-foldable}@<iter_value_t<I>, I> F> |
| 1232 | + requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>> |
| 1233 | +======= |
| 1234 | + template<@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S, |
1230 | 1235 | indirectly-binary-right-foldable<iter_value_t<I>, I> F>
|
1231 | 1236 | requires constructible_from<iter_value_t<I>, iter_reference_t<I>>
|
| 1237 | +>>>>>>> Stashed changes |
1232 | 1238 | constexpr auto fold_right_last(I first, S last, F f);
|
1233 | 1239 |
|
1234 |
| - template <@\libconcept{bidirectional_range}@ R, |
1235 |
| - @\exposconcept{indirectly-binary-right-foldable}@<range_value_t<R>, iterator_t<R>> F> |
| 1240 | + template<@\libconcept{bidirectional_range}@ R, |
| 1241 | + @\exposconcept{indirectly-binary-right-foldable}@<range_value_t<R>, iterator_t<R>> F> |
1236 | 1242 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
1237 | 1243 | constexpr auto fold_right_last(R&& r, F f);
|
1238 | 1244 |
|
|
1248 | 1254 | template<@\libconcept{input_range}@ R, class T, @\exposconcept{indirectly-binary-left-foldable}@<T, iterator_t<R>> F>
|
1249 | 1255 | constexpr @\seebelow@ fold_left_with_iter(R&& r, T init, F f);
|
1250 | 1256 |
|
1251 |
| - template <@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S, |
1252 |
| - @\exposconcept{indirectly-binary-left-foldable}@<iter_value_t<I>, I> F> |
| 1257 | + template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S, |
| 1258 | + @\exposconcept{indirectly-binary-left-foldable}@<iter_value_t<I>, I> F> |
1253 | 1259 | requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
|
1254 | 1260 | constexpr @\seebelow@ fold_left_first_with_iter(I first, S last, F f);
|
1255 | 1261 |
|
1256 |
| - template <@\libconcept{input_range}@ R, |
1257 |
| - @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
| 1262 | + template<@\libconcept{input_range}@ R, |
| 1263 | + @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
1258 | 1264 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
1259 | 1265 | constexpr @\seebelow@ fold_left_first_with_iter(R&& r, F f);
|
1260 | 1266 | }
|
|
4514 | 4520 | @\exposconcept{indirectly-binary-left-foldable}@<iter_value_t<I>, I> F>
|
4515 | 4521 | requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
|
4516 | 4522 | constexpr auto ranges::fold_left_first(I first, S last, F f);
|
4517 |
| -template <@\libconcept{input_range}@ R, @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
| 4523 | +template<@\libconcept{input_range}@ R, @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F> |
4518 | 4524 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
4519 | 4525 | constexpr auto ranges::fold_left_first(R&& r, F f);
|
4520 | 4526 | \end{itemdecl}
|
|
4555 | 4561 |
|
4556 | 4562 | \indexlibraryglobal{fold_right_last}%
|
4557 | 4563 | \begin{itemdecl}
|
4558 |
| -template <@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S, |
4559 |
| - @\exposconcept{indirectly-binary-right-foldable}@<iter_value_t<I>, I> F> |
| 4564 | +template<@\libconcept{bidirectional_iterator}@ I, @\libconcept{sentinel_for}@<I> S, |
| 4565 | + @\exposconcept{indirectly-binary-right-foldable}@<iter_value_t<I>, I> F> |
4560 | 4566 | requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
|
4561 | 4567 | constexpr auto ranges::fold_right_last(I first, S last, F f);
|
4562 |
| -template <@\libconcept{bidirectional_range}@ R, |
4563 |
| - @\exposconcept{indirectly-binary-right-foldable}@<range_value_t<R>, iterator_t<R>> F> |
| 4568 | +template<@\libconcept{bidirectional_range}@ R, |
| 4569 | + @\exposconcept{indirectly-binary-right-foldable}@<range_value_t<R>, iterator_t<R>> F> |
4564 | 4570 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
4565 | 4571 | constexpr auto ranges::fold_right_last(R&& r, F f);
|
4566 | 4572 | \end{itemdecl}
|
|
4586 | 4592 | \begin{itemdecl}
|
4587 | 4593 | template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S, class T,
|
4588 | 4594 | @\exposconcept{indirectly-binary-left-foldable}@<T, I> F>
|
4589 |
| - constexpr @\seebelow@ fold_left_with_iter(I first, S last, T init, F f); |
| 4595 | + constexpr @\seebelow@ ranges::fold_left_with_iter(I first, S last, T init, F f); |
4590 | 4596 | template<@\libconcept{input_range}@ R, class T, @\exposconcept{indirectly-binary-left-foldable}@<T, iterator_t<R>> F>
|
4591 |
| - constexpr @\seebelow@ fold_left_with_iter(R&& r, T init, F f); |
| 4597 | + constexpr @\seebelow@ ranges::fold_left_with_iter(R&& r, T init, F f); |
4592 | 4598 | \end{itemdecl}
|
4593 | 4599 |
|
4594 | 4600 | \begin{itemdescr}
|
|
4620 | 4626 | template<@\libconcept{input_iterator}@ I, @\libconcept{sentinel_for}@<I> S,
|
4621 | 4627 | @\exposconcept{indirectly-binary-left-foldable}@<iter_value_t<I>, I> F>
|
4622 | 4628 | requires @\libconcept{constructible_from}@<iter_value_t<I>, iter_reference_t<I>>
|
4623 |
| - constexpr @\seebelow@ fold_left_first_with_iter(I first, S last, F f) |
| 4629 | + constexpr @\seebelow@ ranges::fold_left_first_with_iter(I first, S last, F f); |
4624 | 4630 | template<@\libconcept{input_range}@ R, @\exposconcept{indirectly-binary-left-foldable}@<range_value_t<R>, iterator_t<R>> F>
|
4625 | 4631 | requires @\libconcept{constructible_from}@<range_value_t<R>, range_reference_t<R>>
|
4626 |
| - constexpr @\seebelow@ fold_left_first_with_iter(R&& r, F f); |
| 4632 | + constexpr @\seebelow@ ranges::fold_left_first_with_iter(R&& r, F f); |
4627 | 4633 | \end{itemdecl}
|
4628 | 4634 |
|
4629 | 4635 | \begin{itemdescr}
|
|
0 commit comments