This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/34052] [4.3 regression] Trouble with variadic templates as template-template parameter
- From: "dgregor at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Jan 2008 15:24:25 -0000
- Subject: [Bug c++/34052] [4.3 regression] Trouble with variadic templates as template-template parameter
- References: <bug-34052-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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