Sounds like you are referring to C++0x Variadic Templates. You can also achieve the same effect using Alexandrescu's TypeList construct from Loki.
I believe the variadic template syntax in question would look like the following.
template
class X : public T... {};