This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/50830] [c++0x] Variadic template, inner class error


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]