tmp/tmpec5hj39u/{from.md → to.md}
RENAMED
|
@@ -29,10 +29,11 @@ namespace std::ranges {
|
|
| 29 |
|
| 30 |
constexpr iterator begin() const;
|
| 31 |
constexpr auto end() const;
|
| 32 |
constexpr iterator end() const requires same_as<W, Bound>;
|
| 33 |
|
|
|
|
| 34 |
constexpr auto size() const requires see below;
|
| 35 |
};
|
| 36 |
|
| 37 |
template<class W, class Bound>
|
| 38 |
requires (!is-integer-like<W> || !is-integer-like<Bound> ||
|
|
@@ -176,10 +177,16 @@ else
|
|
| 176 |
constexpr iterator end() const requires same_as<W, Bound>;
|
| 177 |
```
|
| 178 |
|
| 179 |
*Effects:* Equivalent to: `return `*`iterator`*`{`*`bound_`*`};`
|
| 180 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 181 |
``` cpp
|
| 182 |
constexpr auto size() const requires see below;
|
| 183 |
```
|
| 184 |
|
| 185 |
*Effects:* Equivalent to:
|
|
|
|
| 29 |
|
| 30 |
constexpr iterator begin() const;
|
| 31 |
constexpr auto end() const;
|
| 32 |
constexpr iterator end() const requires same_as<W, Bound>;
|
| 33 |
|
| 34 |
+
constexpr bool empty() const;
|
| 35 |
constexpr auto size() const requires see below;
|
| 36 |
};
|
| 37 |
|
| 38 |
template<class W, class Bound>
|
| 39 |
requires (!is-integer-like<W> || !is-integer-like<Bound> ||
|
|
|
|
| 177 |
constexpr iterator end() const requires same_as<W, Bound>;
|
| 178 |
```
|
| 179 |
|
| 180 |
*Effects:* Equivalent to: `return `*`iterator`*`{`*`bound_`*`};`
|
| 181 |
|
| 182 |
+
``` cpp
|
| 183 |
+
constexpr bool empty() const;
|
| 184 |
+
```
|
| 185 |
+
|
| 186 |
+
*Effects:* Equivalent to: `return `*`value_`*` == `*`bound_`*`;`
|
| 187 |
+
|
| 188 |
``` cpp
|
| 189 |
constexpr auto size() const requires see below;
|
| 190 |
```
|
| 191 |
|
| 192 |
*Effects:* Equivalent to:
|