------- Comment #4 from rodolfo at rodsoft dot org  2010-08-09 14:24 -------
Well, this compiles:

template <int...> struct A {};
template <int> struct B {};
template <int...> struct C {};

template <class A, class B, class C> struct foo;

template<template<int...> class A,
         template<int> class B,
         template<int...> class C,
         int...II, int J, int...KK>
struct foo<A<II...>, B<J>, C<KK...>>
{
};

int main()
{
    foo<A<3>,B<5>,C<7>> bar;
}


-- 


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

Reply via email to