summaryrefslogtreecommitdiff
path: root/2p37.cpp
diff options
context:
space:
mode:
Diffstat (limited to '2p37.cpp')
-rw-r--r--2p37.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/2p37.cpp b/2p37.cpp
new file mode 100644
index 0000000..445ce22
--- /dev/null
+++ b/2p37.cpp
@@ -0,0 +1,24 @@
+#include <iostream>
+#include "sales_item.hpp"
+
+/*
+ *
+ * 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;
+}