[Bug c++/29008] Fails to accept templated constructor

pinskia at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Sun Sep 10 20:41:00 GMT 2006



------- Comment #1 from pinskia at gcc dot gnu dot org  2006-09-10 20:41 -------
I don't think this is valid code.  ICC also rejects the code.  
It is valid for template constuctor but not specify which templated constuctor
you will call.

foo is not a template so that error message is correct.


-- 


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



More information about the Gcc-bugs mailing list