This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/50830] [c++0x] Variadic template, inner class error
- From: "daniel.kruegler at googlemail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 23 Oct 2011 10:02:19 +0000
- Subject: [Bug c++/50830] [c++0x] Variadic template, inner class error
- Auto-submitted: auto-generated
- References: <bug-50830-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50830
--- Comment #7 from Daniel KrÃgler <daniel.kruegler at googlemail dot com> 2011-10-23 10:02:19 UTC ---
I can only guess that there is a compiler defect in regard to handling variadic
template template parameters. The corresponding example
template<class...>
struct S;
template<class...>
struct X;
template<class... Ts, class T>
struct X<S<Ts...>, T> {};
X<S<int, bool>, double> x;
is accepted as expected.