This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/18306] seems not possible to specialize a template member 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: 5 Nov 2004 04:28:10 -0000
- Subject: [Bug c++/18306] seems not possible to specialize a template member function
- References: <20041105041308.18306.ramya.chandar@wipro.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From pinskia at gcc dot gnu dot org 2004-11-05 04:28 -------
As I said before the code you have here is invalid C++.
you have to add
template<> in front of each of the specialization of a template member function.
Also you have problems with template namelookup also (read the 3.4 release notes for the problems
which I am talking about).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18306