Talk:C++17

{{WikiProject banner shell|class=C|

{{WikiProject Computing |importance=Low |software=y |software-importance=Mid}}

{{WikiProject C/C++ |importance=High}}

}}

It seems to me there's a great deal more agreed upon that's not included yet.

= Support for C++17 =

"GCC since version 7 has complete support for C++17" - I don't think that is true. For example, I use g++ 7.1. and there, std::filesystem it not supported. See also this page: https://en.cppreference.com/w/cpp/compiler_support#cpp17

: There is a difference between the full language support and full library support. They are two different things. And with g++ 7.1 yu can use std::filesystem if you use a standard library with full support for it. Libstdc++ just didn't finish the last bits until 9.1, but you can use that with 7.1 if you like, or better yet, forget about the standard library and use something good. Carewolf (talk) 19:00, 21 May 2019 (UTC)

: The correct wording would be "GCC since version 7 has complete support for C++17 Core Language". --Rineau (talk) 08:41, 22 May 2019 (UTC)

:: It is the same for all the compilers, except possibly MSVC who measures standard library support and core language support together. And how would you list clang? Based on libstdc++ like it used historically and still does on most Linux platforms, or with libc++ which it is today developed together with and deployed with on macOS? Perhaps we should list compiler and standard library separately? Carewolf (talk) 17:20, 24 May 2019 (UTC)

P0127R1 seems like a big feature I don't see listed (auto keyword in templates)

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0127r1.html

I've read this was added in C++17. I wish I'd learned of this years ago reading these documents. I rely on them to know what's new in C++ iterations. --184.20.10.253 (talk) 03:17, 8 November 2020 (UTC)

:You're right, that was a new feature in C++17 and it wasn't in our list. I've added it now. I see it's listed in the answer to the StackOverflow question [https://stackoverflow.com/q/38060436 What are the new features in C++17?] - we should probably go through that answer to see if there's anything else listed there that we've missed. --Zundark (talk) 10:11, 8 November 2020 (UTC)

::Thanks for tending to this. --184.20.10.253 (talk) 02:20, 9 November 2020 (UTC)