problem with explicit template function specification

Detlef Vollmann dv@vollmann.ch
Sat Apr 29 05:49:00 GMT 2000


Martin v. Loewis wrote:

> Thanks for your bug report. This is not a bug in the compiler, but in your
> code. You have to write
> 
>                int i = a.template f<int>();
Oops, I've never seen this syntax before.  I scanned the
standard document, but found it nowhere.
Could you please give me some hint where to look?

Thanks,
Detlef

-- 
Detlef Vollmann
vollmann engineering gmbh           Tel: +41-41-4120911
P.O. Box 5106                       Fax: +41-41-4120912
CH-6000 Luzern 5 / Switzerland      eMail: dv@vollmann.ch


More information about the Gcc-bugs mailing list