------- Comment #5 from dgregor at gcc dot gnu dot org 2008-01-11 15:24 ------- Amusingly enough (since this is the second time this has happened today), this problem occurs both with and without variadic templates. The following code is ill-formed according to C++98, but GCC accepts it:
template<template<typename T = int, typename U> class C> struct X; I'm working on a fix for both issues. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34052