tmp/tmpeq5j5nwz/{from.md → to.md}
RENAMED
|
@@ -4,11 +4,11 @@
|
|
| 4 |
constexpr decltype(auto) operator*();
|
| 5 |
constexpr decltype(auto) operator*() const
|
| 6 |
requires dereferenceable<const I>;
|
| 7 |
```
|
| 8 |
|
| 9 |
-
|
| 10 |
|
| 11 |
*Effects:* Equivalent to: `return *get<I>(v_);`
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
constexpr auto operator->() const
|
|
@@ -22,11 +22,11 @@ indirectly_readable<const I> &&
|
|
| 22 |
(requires(const I& i) { i.operator->(); } ||
|
| 23 |
is_reference_v<iter_reference_t<I>> ||
|
| 24 |
constructible_from<iter_value_t<I>, iter_reference_t<I>>)
|
| 25 |
```
|
| 26 |
|
| 27 |
-
|
| 28 |
|
| 29 |
*Effects:*
|
| 30 |
|
| 31 |
- If `I` is a pointer type or if the expression
|
| 32 |
`get<I>(v_).operator->()` is well-formed, equivalent to:
|
|
|
|
| 4 |
constexpr decltype(auto) operator*();
|
| 5 |
constexpr decltype(auto) operator*() const
|
| 6 |
requires dereferenceable<const I>;
|
| 7 |
```
|
| 8 |
|
| 9 |
+
`holds_alternative<I>(v_)` is `true`.
|
| 10 |
|
| 11 |
*Effects:* Equivalent to: `return *get<I>(v_);`
|
| 12 |
|
| 13 |
``` cpp
|
| 14 |
constexpr auto operator->() const
|
|
|
|
| 22 |
(requires(const I& i) { i.operator->(); } ||
|
| 23 |
is_reference_v<iter_reference_t<I>> ||
|
| 24 |
constructible_from<iter_value_t<I>, iter_reference_t<I>>)
|
| 25 |
```
|
| 26 |
|
| 27 |
+
`holds_alternative<I>(v_)` is `true`.
|
| 28 |
|
| 29 |
*Effects:*
|
| 30 |
|
| 31 |
- If `I` is a pointer type or if the expression
|
| 32 |
`get<I>(v_).operator->()` is well-formed, equivalent to:
|