File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 4003
4003
pointed to by \tcode {ptr_to_obj}.
4004
4004
\end {example }
4005
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 {\& }.
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}.
4008
4009
In a \tcode {.*}
4009
4010
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 {\&\& }.
4011
4014
The result of a \tcode {.*} expression
4012
4015
whose second operand is a pointer to a data member is an lvalue if the first
4013
4016
operand is an lvalue and an xvalue otherwise. The result of a \tcode {.*} expression whose
You can’t perform that action at this time.
0 commit comments