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: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 22 Oct 2011 20:37:03 +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 #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-22 20:37:03 UTC ---
reduced:
template<template<class> class...>
struct list_templates {};
template<class>
struct aa {};
template<class... T>
struct test {};
template<template<class> class... F, class T>
struct test<list_templates<F...>, T>
{
struct inner {};
};
test<list_templates<aa>, int> a4; // error