This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: template member function not compiled
- To: pierre at itp dot phys dot ethz dot ch
- Subject: Re: template member function not compiled
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Tue, 4 Jan 2000 00:48:28 +0100
- CC: gcc-bugs at gcc dot gnu dot org
- References: <14448.43292.900056.858415@apis.ethz.ch>
> the following example will not compile with gcc version 2.95.2,
> under linux and solaris 2.6.
> As far as I know, it should be supported by c++. It compiles under KCC.
Thanks for your bug report. This is a known problem; you can work
around by explicitly specifying the method as a template:
return t.template is<0>(s);
Regards,
Martin