You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: xml/issue4534.xml
+11-5Lines changed: 11 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -51,16 +51,22 @@ let <code><i>VAL</i><T></code> for some type `T` be an expression defined
51
51
<li><p>
52
52
<ins>(4.3) — let `C(T)` be the set of types defined as follows:</ins></p>
53
53
<ulstyle="list-style-type: none">
54
-
<li><p><ins>(4.3.1) — if `T` is the type "array of `U`", "pointer to `U`", or "reference to `U`", then `C(T)` is `C(U)`;
54
+
<li><p><ins>(4.3.1) — if <code>remove_cv_t<T></code>
55
+
is the type "array of `U`", "pointer to `U`", or "reference to `U`",
56
+
then `C(T)` is `C(U)`;
55
57
</ins></p></li>
56
-
<li><p><ins>(4.3.2) — otherwise, if `T` is the type "pointer to member of class `X` of type `U`", then `C(T)` is the union of `C(X)` and `C(U)`;
58
+
<li><p><ins>(4.3.2) — otherwise, if <code>remove_cv_t<T></code>
59
+
is the type "pointer to member of class `X` of type `U`",
60
+
then `C(T)` is the union of `C(X)` and `C(U)`;
57
61
</ins></p></li>
58
62
<li><p><ins>(4.3.3) — otherwise, if `T` is the type "`noexcept`<i><sub>opt</sub></i> function of parameter-type-list <i>cv-qualifier-seq<sub>opt</sub></i> <i>ref-qualifier<sub>opt</sub></i> returning `U`",
59
63
then `C(T)` is the union of `C(U)` and `C(X)` for each type `X` in the parameter-type-list;
60
64
</ins></p></li>
61
-
<li><p><ins>(4.3.4) — otherwise, if `T` is a complete class type,
62
-
then `C(T)` is the union of the sets `C(U)`, for each `U` that is the type of a
63
-
(possibly indirect) non-static data member of `T`;
65
+
<li><p><ins>(4.3.4) — otherwise, if <code>remove_cv_t<T></code>
66
+
is a complete class type,
67
+
then `C(T)` is the union of the sets `C(U)`,
68
+
for each `U` that is the type of a (possibly indirect) non-static data member
69
+
of <code>remove_cv_t<T></code>;
64
70
</ins></p></li>
65
71
<li><p><ins>(4.3.5) — otherwise, `C(T)` is the set containing the single element <code>remove_cv_t<T></code>.
0 commit comments