Clang's implementation of DR61 is seemingly incomplete. We currently disallow the case where the overloaded member expression is coming from an address-of operator but we don't issue any diagnostics when the overloaded member expression comes by way of a function to pointer decay cast.
Attached is a patch that should properly handle this case. -- David Majnemer
v1.diff
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
