Skip to content

Commit f8a9adc

Browse files
burblebeetkoeppe
authored andcommitted
LWG3655 The INVOKE operation and union types
1 parent 8a0149a commit f8a9adc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

source/utilities.tex

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10641,7 +10641,9 @@
1064110641
\begin{itemize}
1064210642
\item \tcode{(t$_1$.*f)(t$_2$, $\dotsc$, t$_N$)} when \tcode{f} is a pointer to a
1064310643
member function of a class \tcode{T}
10644-
and \tcode{is_base_of_v<T, remove_reference_t<decltype(t$_1$)>>} is \tcode{true};
10644+
and
10645+
\tcode{is_same_v<T, remove_cvref_t<decltype(t1)>> ||}
10646+
\tcode{is_base_of_v<T, remove_cvref_t<decltype(t$_1$)>>} is \tcode{true};
1064510647

1064610648
\item \tcode{(t$_1$.get().*f)(t$_2$, $\dotsc$, t$_N$)} when \tcode{f} is a pointer to a
1064710649
member function of a class \tcode{T}
@@ -10653,7 +10655,9 @@
1065310655

1065410656
\item \tcode{t$_1$.*f} when $N = 1$ and \tcode{f} is a pointer to
1065510657
data member of a class \tcode{T}
10656-
and \tcode{is_base_of_v<T, remove_reference_t<decltype(t$_1$)>>} is \tcode{true};
10658+
and
10659+
\tcode{is_same_v<T, remove_cvref_t<decltype(t1)>> ||}
10660+
\tcode{is_base_of_v<T, remove_cvref_t<decltype(t$_1$)>>} is \tcode{true};
1065710661

1065810662
\item \tcode{t$_1$.get().*f} when $N = 1$ and \tcode{f} is a pointer to
1065910663
data member of a class \tcode{T}

0 commit comments

Comments
 (0)