This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13561] template functions in classes
- 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 Jan 2004 08:15:12 -0000
- Subject: [Bug c++/13561] template functions in classes
- References: <20040104080940.13561.pepe@residue.ict.pwr.wroc.pl>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-01-04 08:15 -------
This is a dup of bug 795.
A workaround is to the following:
struct A
{
template<typename T> void f() { }
};
class B
{
A a;
template<typename T> void g() { a.template f<int>(); }
}
*** 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=13561