summaryrefslogtreecommitdiff
path: root/2p37.cpp
blob: 7247652eadda014140844c8905014568bd404566 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <iostream>

/*
 *
 * 2.37
 *
 *
 */

int main () {

	int a = 3;
	int b = 4;
	decltype(a) c = a; //int
	//decltype(a = b) d = a; // int&
	std::cout << a << " "
			  << b << " "
			  << c << " "
		//<< d << " "
			  <<std::endl;
	
	return 0;
}