We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da42fd0 commit c4836f3Copy full SHA for c4836f3
source/expressions.tex
@@ -4003,8 +4003,9 @@
4003
pointed to by \tcode{ptr_to_obj}.
4004
\end{example}
4005
In a \tcode{.*} expression whose object expression is an rvalue, the program is
4006
-ill-formed if the second operand is a pointer to member function with
4007
-\grammarterm{ref-qualifier} \tcode{\&}.
+ill-formed if the second operand is a pointer to member function
+whose \grammarterm{ref-qualifier} is \tcode{\&},
4008
+unless its \grammarterm{cv-qualifier-seq} is \tcode{const}.
4009
In a \tcode{.*}
4010
expression whose object expression is an lvalue, the program is ill-formed if the second
4011
operand is a pointer to member function with \grammarterm{ref-qualifier} \tcode{\&\&}.
0 commit comments