[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration
--- Comment #10 from schaub-johannes at web dot de 2009-05-17 16:38 --- A added another bug-report very similar to this that handles the case where the friend definition is about a template: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40177 . GCC accepts in that case, while it should reject. -- schaub-johannes at web dot de changed: What|Removed |Added CC||schaub-johannes at web dot ||de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34870
[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration
--- Comment #9 from jason at gcc dot gnu dot org 2009-03-27 18:34 --- You're right, a template-id does still get argument-dependent lookup. -- jason at gcc dot gnu dot org changed: What|Removed |Added CC||jason at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34870
[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration
--- Comment #8 from dragan at plusplus dot co dot yu 2009-01-16 21:22 --- Created an attachment (id=17123) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17123action=view) another test case I disagree... here is another test case. Semantically, it is the same as the first one, so there is no reason why unqualified name could not include (among others) an unqualified template-id. Either it is a defect in standard, or there is a place that says that template-id can also be qualified or unqualified. This test case eliminates the template-id, and we're back to my original bug report. Hm... why do people try to close or invert this bug report? It is fairly logical and with references to standard, discussion and defect report... -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34870
[Bug c++/34870] argument-dependent lookup wrongly finds friend declaration
--- Comment #7 from jason at gcc dot gnu dot org 2009-01-16 04:54 --- Actually, this is still an accepts-invalid bug when weird is uncommented. -- jason at gcc dot gnu dot org changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|INVALID | Summary|argument-dependent lookup |argument-dependent lookup |wronly finds friend |wrongly finds friend |declaration |declaration http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34870