This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/11567] C++ code containing templated member function with same name as pure virtual member function results in linking failure
- From: "albert at stonethree dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Jul 2003 08:08:56 -0000
- Subject: [Bug c++/11567] C++ code containing templated member function with same name as pure virtual member function results in linking failure
- References: <20030718080401.11567.albert@stonethree.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11567
------- Additional Comments From albert at stonethree dot com 2003-07-18 08:08 -------
Created an attachment (id=4426)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=4426&action=view)
Similar code for showing bug
Courtesy of Gerhard Esterhuizen <gesterhuizen@yahoo.com>.
Nicely shows the "workaround" of implementing the calling function in the
header (but this doesn't always seem to work in my experience).