From my experience the only way to have a specialization for the {1},{1,2},{1,2,...,n} parameters you have to add an additional n+1 dummy parameter. Otherwise you get compile-time errors. But maybe there is a cleaner way.