Compile the attached preprocessed file with "g++ -std=c++0x -c -x c++ bug.i". The compiler ICEs. Seems to be a problem with template varargs.
This is with the latest g++, built from svn on 10/30/2007, with some patches from Doug Gregor for various problems. -- Summary: internal compiler error: in dependent_type_p, at cp/pt.c:15245 (vararg template problem) Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: eric dot niebler at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33955