http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46947
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2010-12-14
22:18:38 UTC ---
GCC 4.2 is no longer maintained, you need to report it to Apple or use a more
recent, official FSF release.
4.4.5 gives
main.cpp: In function ‘int main(int, char* const*)’:
main.cpp:17: sorry, unimplemented: mangling template_id_expr
and 4.5.2 compiles it successfully