This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Template and member function pointers compile question
- From: Tristan Bonsall <tristan_bonsall at carallon dot com>
- To: John Love-Jensen <eljay at adobe dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Wed, 05 Apr 2006 16:03:55 +0100
- Subject: Re: Template and member function pointers compile question
- References: <C0594496.D49B%eljay@adobe.com>
John Love-Jensen wrote:
Hi Tristan,
Change this...
pFunc = &TestClass<T>::calculate<true,true,true>;
...to this...
pFunc = &TestClass<T>::template calculate<true,true,true>;
And do the same in the other similar areas. Does that fix the issue?
--Eljay
Thanks. That works for GCC and MSVC.
Could you point us to any documentation on this area, just out of interest?
Tristan