tmp/tmp5bsgt3k0/{from.md → to.md}
RENAMED
|
@@ -121,20 +121,10 @@ return apply([](auto... sizes) {
|
|
| 121 |
|
| 122 |
#### Class template `zip_view::iterator` <a id="range.zip.iterator">[[range.zip.iterator]]</a>
|
| 123 |
|
| 124 |
``` cpp
|
| 125 |
namespace std::ranges {
|
| 126 |
-
template<bool Const, class... Views>
|
| 127 |
-
concept all-random-access = // exposition only
|
| 128 |
-
(random_access_range<maybe-const<Const, Views>> && ...);
|
| 129 |
-
template<bool Const, class... Views>
|
| 130 |
-
concept all-bidirectional = // exposition only
|
| 131 |
-
(bidirectional_range<maybe-const<Const, Views>> && ...);
|
| 132 |
-
template<bool Const, class... Views>
|
| 133 |
-
concept all-forward = // exposition only
|
| 134 |
-
(forward_range<maybe-const<Const, Views>> && ...);
|
| 135 |
-
|
| 136 |
template<input_range... Views>
|
| 137 |
requires (view<Views> && ...) && (sizeof...(Views) > 0)
|
| 138 |
template<bool Const>
|
| 139 |
class zip_view<Views...>::iterator {
|
| 140 |
tuple<iterator_t<maybe-const<Const, Views>>...> current_; // exposition only
|
|
@@ -501,7 +491,7 @@ template<bool OtherConst>
|
|
| 501 |
iterator_t<maybe-const<OtherConst, Views>>> && ...)
|
| 502 |
friend constexpr common_type_t<range_difference_t<maybe-const<OtherConst, Views>>...>
|
| 503 |
operator-(const sentinel& y, const iterator<OtherConst>& x);
|
| 504 |
```
|
| 505 |
|
| 506 |
-
*Effects:* Equivalent to `return -(x - y);`
|
| 507 |
|
|
|
|
| 121 |
|
| 122 |
#### Class template `zip_view::iterator` <a id="range.zip.iterator">[[range.zip.iterator]]</a>
|
| 123 |
|
| 124 |
``` cpp
|
| 125 |
namespace std::ranges {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 126 |
template<input_range... Views>
|
| 127 |
requires (view<Views> && ...) && (sizeof...(Views) > 0)
|
| 128 |
template<bool Const>
|
| 129 |
class zip_view<Views...>::iterator {
|
| 130 |
tuple<iterator_t<maybe-const<Const, Views>>...> current_; // exposition only
|
|
|
|
| 491 |
iterator_t<maybe-const<OtherConst, Views>>> && ...)
|
| 492 |
friend constexpr common_type_t<range_difference_t<maybe-const<OtherConst, Views>>...>
|
| 493 |
operator-(const sentinel& y, const iterator<OtherConst>& x);
|
| 494 |
```
|
| 495 |
|
| 496 |
+
*Effects:* Equivalent to: `return -(x - y);`
|
| 497 |
|