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 #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.


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