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++/17448] Fails to detect duplicate definition


------- Additional Comments From bangerth at dealii dot org  2004-09-13 16:18 -------
If you have a template-instantiation and a non-template function with the 
same signature, then the non-template always wins unless you explicitly 
specify template arguments. They are _not_ the same, and the compiler is 
not supposed to indicate that they are! 
 
W. 

-- 


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


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