Template and member function pointers compile question
Tristan Bonsall
tristan_bonsall@carallon.com
Wed Apr 5 15:03:00 GMT 2006
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
More information about the Gcc-help
mailing list