tmp/tmpit0n4hff/{from.md → to.md}
RENAMED
|
@@ -27,15 +27,15 @@ template<size_t I, class T> struct variant_alternative<I, const T>;
|
|
| 27 |
```
|
| 28 |
|
| 29 |
Let `VA` denote `variant_alternative<I, T>` of the cv-unqualified type
|
| 30 |
`T`. Then each specialization of the template meets the
|
| 31 |
*Cpp17TransformationTrait* requirements [[meta.rqmts]] with a member
|
| 32 |
-
typedef `type` that names the type `
|
| 33 |
|
| 34 |
``` cpp
|
| 35 |
variant_alternative<I, variant<Types...>>::type
|
| 36 |
```
|
| 37 |
|
| 38 |
*Mandates:* `I` < `sizeof...(Types)`.
|
| 39 |
|
| 40 |
-
*
|
| 41 |
|
|
|
|
| 27 |
```
|
| 28 |
|
| 29 |
Let `VA` denote `variant_alternative<I, T>` of the cv-unqualified type
|
| 30 |
`T`. Then each specialization of the template meets the
|
| 31 |
*Cpp17TransformationTrait* requirements [[meta.rqmts]] with a member
|
| 32 |
+
typedef `type` that names the type `const VA::type`.
|
| 33 |
|
| 34 |
``` cpp
|
| 35 |
variant_alternative<I, variant<Types...>>::type
|
| 36 |
```
|
| 37 |
|
| 38 |
*Mandates:* `I` < `sizeof...(Types)`.
|
| 39 |
|
| 40 |
+
*Result:* The type `T_I`.
|
| 41 |
|