This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13306] compilation error when trying to instantiate a template member function of a template class in another template function
- 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: 4 Dec 2003 22:56:32 -0000
- Subject: [Bug c++/13306] compilation error when trying to instantiate a template member function of a template class in another template function
- References: <20031204225249.13306.ydi@bam-us.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2003-12-04 22:56 -------
The problem is that GCC has a bug in it, you can workaround it with something like this:
a.template g<double>();
Note this is a dup of bug 795 which is fixed for 3.4.
*** This bug has been marked as a duplicate of 795 ***
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13306