We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a48353 commit 32655beCopy full SHA for 32655be
C++17/structured_bindings.cpp
@@ -32,7 +32,8 @@ int main()
32
assert(num == 1);
33
assert(pi == 3.14);
34
assert(str == "something");
35
-
+
36
+ std::cout << "Tuple decomposition was sucessful\n";
37
38
Point p{1, 2, 3};
39
// here we decompose a Point object into separate variables
@@ -41,5 +42,7 @@ int main()
41
42
assert(b == 2);
43
assert(c == 3);
44
45
+ std::cout << "Point decomposition was successful \n";
46
47
return 0;
48
}
0 commit comments