template
void doStuff(Params...) {
}
template <>
void doStuff(int, bool) {
}
int main(in
The syntax is correct (afaik, and clang++ accepts it), but your compiler is probably just not up2date yet.
If you use gcc, its variadic template support is quite incomplete, and even very recent svn versions don't support specialization yet (That is just how it is when you use bleeding edge technology, and sadly gcc implemented only a very early incomplete variadic template proposal and since then didn't keep up much, while clang started pretty late, but got pretty complete)