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++/38850] Cannot find inline friend function in template class when called from within a template function



------- 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


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