[Bug c++/16610] constructor template binding different than plain function for same types

giovannibajo at libero dot it gcc-bugzilla@gcc.gnu.org
Mon Jul 19 15:22:00 GMT 2004


------- Additional Comments From giovannibajo at libero dot it  2004-07-19 15:22 -------
For the same reason that makes this example well-formed:

------------------------------
void f(char);
template <class T> void f(T );

void foo() { f('a'); }
------------------------------


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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



More information about the Gcc-bugs mailing list