#include using namespace std ; /* template void printf1(T v) { cout << "Single argument function:" << v << endl ; } */ //template /* void printf1() { cout << "Empty printf." << endl ; } */ template void printf1(T first, Args... args) { cout << "first:" << first << endl ; // printf1( first ) ; //cout << "Enter:" << endl ; printf1( args... ) ; //LABEL A } int main() { printf1( 1, 2, 3 ); //printf1( "1", 2, 3 ); cout << "End of main." << endl ; }