summaryrefslogtreecommitdiff
path: root/6p37.cpp
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-09-12 12:28:48 +0200
committerOskar <[email protected]>2024-09-12 12:28:48 +0200
commit13c97461fde19829569dbe10f53322fef5909b83 (patch)
tree7f7f529c849c601184edc95b9a449e870e2854dc /6p37.cpp
parent70878e5c5b4552def51082829032780c536dc59d (diff)
more
Diffstat (limited to '6p37.cpp')
-rw-r--r--6p37.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/6p37.cpp b/6p37.cpp
new file mode 100644
index 0000000..4a7320c
--- /dev/null
+++ b/6p37.cpp
@@ -0,0 +1,19 @@
+#include <iostream>
+
+/*
+ *
+ * 6.37
+ *
+ *
+ */
+
+std::string (&myfunction())[10];
+
+auto myfunction2() -> std::string(&)[10]; // This is obviously the easiest way to do it
+
+std::string myarray[10];
+decltype(myarray) &myfunction3();
+
+int main () {
+ return 0;
+}