From 13c97461fde19829569dbe10f53322fef5909b83 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 12 Sep 2024 12:28:48 +0200 Subject: more --- 6p37.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 6p37.cpp (limited to '6p37.cpp') 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 + +/* + * + * 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; +} -- cgit v1.2.3