[Bug c++/17448] Fails to detect duplicate definition
bangerth at dealii dot org
gcc-bugzilla@gcc.gnu.org
Mon Sep 13 14:26:00 GMT 2004
------- Additional Comments From bangerth at dealii dot org 2004-09-13 14:26 -------
Thinking about it, I'm not even sure any more whether the two definitions
refer to the same function: in the second case, we declare and inject a
function template, whereas in the first case a single instance of a function
is declared and injected. It is not a template, but a new declaration is
generated each time we instantiate class A with a different template
argument.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17448
More information about the Gcc-bugs
mailing list