tmp/tmprnrqgwtf/{from.md → to.md}
RENAMED
|
@@ -14,10 +14,12 @@ namespace std::ranges {
|
|
| 14 |
constexpr inner-iterator begin() const noexcept;
|
| 15 |
constexpr default_sentinel_t end() const noexcept;
|
| 16 |
|
| 17 |
constexpr auto size() const
|
| 18 |
requires sized_sentinel_for<sentinel_t<V>, iterator_t<V>>;
|
|
|
|
|
|
|
| 19 |
};
|
| 20 |
}
|
| 21 |
```
|
| 22 |
|
| 23 |
``` cpp
|
|
@@ -48,5 +50,15 @@ constexpr auto size() const
|
|
| 48 |
``` cpp
|
| 49 |
return to-unsigned-like(ranges::min(parent_->remainder_,
|
| 50 |
ranges::end(parent_->base_) - *parent_->current_));
|
| 51 |
```
|
| 52 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
constexpr inner-iterator begin() const noexcept;
|
| 15 |
constexpr default_sentinel_t end() const noexcept;
|
| 16 |
|
| 17 |
constexpr auto size() const
|
| 18 |
requires sized_sentinel_for<sentinel_t<V>, iterator_t<V>>;
|
| 19 |
+
|
| 20 |
+
constexpr auto reserve_hint() const noexcept;
|
| 21 |
};
|
| 22 |
}
|
| 23 |
```
|
| 24 |
|
| 25 |
``` cpp
|
|
|
|
| 50 |
``` cpp
|
| 51 |
return to-unsigned-like(ranges::min(parent_->remainder_,
|
| 52 |
ranges::end(parent_->base_) - *parent_->current_));
|
| 53 |
```
|
| 54 |
|
| 55 |
+
``` cpp
|
| 56 |
+
constexpr auto reserve_hint() const noexcept;
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
*Effects:* Equivalent to:
|
| 60 |
+
|
| 61 |
+
``` cpp
|
| 62 |
+
return to-unsigned-like(parent_->remainder_);
|
| 63 |
+
```
|
| 64 |
+
|