On Dec 7, 2007 7:22 PM, Jon A. Cruz <jon@...18...> wrote:
On Dec 7, 2007, at 5:23 PM, Gustav Broberg wrote:
Auch... sorry for that, I use 4.1.3 and for me it compiles fine. I'm pretty sure it's valid C++ -- here's a minimal test case on what I think it chokes on (tried with success in gcc 4.1 and Comeau):
...
That dies a horrible death also
g++ -o test test.cpp test.cpp:13: error: template-id 'f<>' for 'void X<float>::f()' does not match any template declaration test.cpp:13: error: invalid function declaration
FYI, it dies on OS X 10.3.9 (gcc 3.3) also with almost the same error:
g++ -o test test.cpp test.cpp:13: error: template-id `f<>' for `void X<float>::f()' does not match any template declaration test.cpp:13: error: syntax error before `{' token
, John