This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/54058] Injected friend functions are not considered when using contextual type info to take a function address


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54058

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-07-20 21:51:30 UTC ---
I think G++ is correct. The injected functions can only be found by ADL and ADL
only applies to function calls, not when taking the address of a function.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]