clang currently disallows bound methods from having their address taken but
sometimes allows them if the method is overloaded in some way.

The attached patch implements DR61 [*] which affirms that expressions
containing unresolved member access should be disallowed when performing
"address of" operations.


[*] http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#61

Thanks
-- 
David Majnemer

Attachment: DR61.diff
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to