------- Comment #4 from rguenth at gcc dot gnu dot org 2009-01-14 21:46 ------- >From a first look Max should be found during argument-dependent name-lookup. EDG confirms this theory. gcc 4.1 accepts this code.
-- rguenth at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |rejects-valid Known to fail| |4.2.4 4.3.2 4.4.0 Known to work|4.3.1 |4.1.2 Last reconfirmed|0000-00-00 00:00:00 |2009-01-14 21:46:06 date| | Summary|Cannot find inline friend |[4.2/4.3/4.4 Regression] |function in template class |Cannot find inline friend |when called from within a |function in template class |template function |when called from within a | |template function Target Milestone|--- |4.2.5 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850