------- Comment #4 from redi at gcc dot gnu dot org 2009-12-23 21:17 ------- A recent 4.5.0 doesn't accept this:
pr33041.cc: In function int main(): pr33041.cc:20:26: error: no match for operator<< in std::cout << foo<int>::foo compilation terminated due to -Wfatal-errors. Adding some parentheses gives: pr33041.cc: In function int main(): pr33041.cc:20:31: error: expected primary-expression before double pr33041.cc:20:31: error: expected ) before double This might have been changed by the fixes for bug 9050 or bug 11764 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33041