1 #include <iostream> 2 #include <tuple> 3 using namespace std; 4 5 6 void main() 7 { 8 char ch = 'a'; 9 short sh = 12; 10 int num = 234; 11 double db = 12.324; 12 char *p = "calc"; 13 14 tuple<char, short, int, double, char *>mytuple(ch, sh, num, db, p); 15 auto item = get<1>(mytuple); 16 cout << item << endl; 17 cin.get(); 18 }