tmp/tmpwc7pnpxn/{from.md → to.md}
RENAMED
|
@@ -35,12 +35,12 @@ namespace std::ranges {
|
|
| 35 |
constexpr unreachable_sentinel_t end() const noexcept;
|
| 36 |
|
| 37 |
constexpr auto size() const requires (!same_as<Bound, unreachable_sentinel_t>);
|
| 38 |
};
|
| 39 |
|
| 40 |
-
template<class T, class Bound>
|
| 41 |
-
repeat_view(T, Bound) -> repeat_view<T, Bound>;
|
| 42 |
}
|
| 43 |
```
|
| 44 |
|
| 45 |
``` cpp
|
| 46 |
constexpr explicit repeat_view(const T& value, Bound bound = Bound())
|
|
|
|
| 35 |
constexpr unreachable_sentinel_t end() const noexcept;
|
| 36 |
|
| 37 |
constexpr auto size() const requires (!same_as<Bound, unreachable_sentinel_t>);
|
| 38 |
};
|
| 39 |
|
| 40 |
+
template<class T, class Bound = unreachable_sentinel_t>
|
| 41 |
+
repeat_view(T, Bound = Bound()) -> repeat_view<T, Bound>;
|
| 42 |
}
|
| 43 |
```
|
| 44 |
|
| 45 |
``` cpp
|
| 46 |
constexpr explicit repeat_view(const T& value, Bound bound = Bound())
|