This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/38850] Cannot find inline friend function in template class when called from within a template function
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 14 Jan 2009 21:24:03 -0000
- Subject: [Bug c++/38850] Cannot find inline friend function in template class when called from within a template function
- References: <bug-38850-17188@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from pinskia at gcc dot gnu dot org 2009-01-14 21:24 -------
I think this code is invalid as the call to Max is not going to be dependent as
the arguments are not dependent and can be looked up at the time the function
is defined.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38850