c++/3012: c++ bug
Gabriel Dos Reis
Gabriel.Dos-Reis@cmla.ens-cachan.fr
Fri Jun 1 18:18:00 GMT 2001
"Artem Khodush" <artem@duma.gov.ru> writes:
| Robert B. Lowrie wrote:
| > If a templated member function `foo' of even a non-templated class
| > `A' is called within a templated class `B' with the syntax
| > foo<double>(), the compiler gives a syntax error.
|
| > // when B is a template, compile fails on this line:
| > a.foo<double>();
|
| Not a bug.
This IS a known bug in the parser.
-- Gaby
More information about the Gcc-bugs
mailing list