This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/23685] Problem with undefined references for templates
- 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: 1 Sep 2005 18:39:02 -0000
- Subject: [Bug c++/23685] Problem with undefined references for templates
- References: <20050901183404.23685.gregory.a.bakken@pfizer.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-09-01 18:39 -------
yes, You are missing this is how templates work.
the template needs to be instainated.
Either explicitly instainate them in the other TU or put the template functions in a header.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23685