https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518
--- Comment #4 from Jonathan Wakely ---
FWIW GCC changed with r153958:
re PR c++/34870 (argument-dependent lookup fails to find friend declaration)
PR c++/34870
* name-lookup.c (arg_assoc_class): Call complete_type.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518
Andrew Pinski changed:
What|Removed |Added
Resolution|--- |INVALID
See Also|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518
--- Comment #2 from Jonathan Wakely 2012-04-04
11:38:57 UTC ---
(In reply to comment #0)
> The following program instantiates wrap, but a very similar program
> that doesn't call an overloaded operator doesn't:
Neither does an even more similar
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48518
--- Comment #1 from Jonathan Wakely 2012-04-04
11:15:54 UTC ---
Clang appears to agree with GCC now.
This reminds me of PR 46824