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

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Sat Oct 22 20:57:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50830

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-10-22 20:57:04 UTC ---
The reduced example compiles if the partial specialization is declared so the
pack expansion is last:

template<class T, template<class> class... F>
struct test<list_templates<F...>, T>
{
    struct inner {};
};



More information about the Gcc-bugs mailing list