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++/34877] Invalid conversion in lookup of variadic template



------- Comment #1 from pinskia at gcc dot gnu dot org  2008-01-20 01:46 -------
I think this is valid code as you specify max<T>(b, args...) which means the
type for the first template argument will be unsigned so it will convert the
second argument to unsigned int.

Isn't that correct?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34877


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