http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48593
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |accepts-invalid,
| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.04.14 08:03:53
Ever Confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-04-14
08:03:53 UTC ---
confirmed, the standard is quite clear:
A pointer to member is only formed when an explicit & is used and its operand
is a qualified-id not enclosed
in parentheses. [ Note: that is, the expression &(qualified-id), where the
qualified-id is enclosed in
parentheses, does not form an expression of type “pointer to member.” ...]