template parameter '%$pS' cannot be used because it follows a template parameter pack and cannot be deduced from the function ...