tmp/tmpiskgw2be/{from.md → to.md}
RENAMED
|
@@ -1,14 +1,15 @@
|
|
| 1 |
#### Class `iota_view::sentinel` <a id="range.iota.sentinel">[[range.iota.sentinel]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std::ranges {
|
| 5 |
template<weakly_incrementable W, semiregular Bound>
|
| 6 |
-
requires weakly-equality-comparable-with<W, Bound>
|
| 7 |
struct iota_view<W, Bound>::sentinel {
|
| 8 |
private:
|
| 9 |
Bound bound_ = Bound(); // exposition only
|
|
|
|
| 10 |
public:
|
| 11 |
sentinel() = default;
|
| 12 |
constexpr explicit sentinel(Bound bound);
|
| 13 |
|
| 14 |
friend constexpr bool operator==(const iterator& x, const sentinel& y);
|
|
|
|
| 1 |
#### Class `iota_view::sentinel` <a id="range.iota.sentinel">[[range.iota.sentinel]]</a>
|
| 2 |
|
| 3 |
``` cpp
|
| 4 |
namespace std::ranges {
|
| 5 |
template<weakly_incrementable W, semiregular Bound>
|
| 6 |
+
requires weakly-equality-comparable-with<W, Bound> && copyable<W>
|
| 7 |
struct iota_view<W, Bound>::sentinel {
|
| 8 |
private:
|
| 9 |
Bound bound_ = Bound(); // exposition only
|
| 10 |
+
|
| 11 |
public:
|
| 12 |
sentinel() = default;
|
| 13 |
constexpr explicit sentinel(Bound bound);
|
| 14 |
|
| 15 |
friend constexpr bool operator==(const iterator& x, const sentinel& y);
|