Is it possible to make a variadic C++ template that doesn’t rely on params? I’d like to make:

createObjects<A,B,C, ...>()
{
    new A;
    new B;
    new C;
    new ...
}

that But it can’t distinguish terminating template and variadic one.