This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34877] Invalid conversion in lookup of variadic template
- 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: 20 Jan 2008 01:46:18 -0000
- Subject: [Bug c++/34877] Invalid conversion in lookup of variadic template
- References: <bug-34877-15404@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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