Skip to content

Commit 559c744

Browse files
committed
Merge 2017-07 CWG Motion 5
2 parents da42fd0 + ecad20e commit 559c744

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

source/expressions.tex

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4003,11 +4003,14 @@
40034003
pointed to by \tcode{ptr_to_obj}.
40044004
\end{example}
40054005
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{\&}.
4006+
ill-formed if the second operand is a pointer to member function
4007+
whose \grammarterm{ref-qualifier} is \tcode{\&},
4008+
unless its \grammarterm{cv-qualifier-seq} is \tcode{const}.
40084009
In a \tcode{.*}
40094010
expression whose object expression is an lvalue, the program is ill-formed if the second
4010-
operand is a pointer to member function with \grammarterm{ref-qualifier} \tcode{\&\&}.
4011+
operand is
4012+
a pointer to member function
4013+
whose \grammarterm{ref-qualifier} is \tcode{\&\&}.
40114014
The result of a \tcode{.*} expression
40124015
whose second operand is a pointer to a data member is an lvalue if the first
40134016
operand is an lvalue and an xvalue otherwise. The result of a \tcode{.*} expression whose

0 commit comments

Comments
 (0)