experimental status of C++17

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

We're currently using C++14 at my workplace and we're contemplating a
switch to C++17. We're using GCC 8.2.1 as that's what's provided by Red Hat
7.

We've been looking at the https://gcc.gnu.org/projects/cxx-status.html#cxx1z
page and the following statement is made about C++17 support:

> GCC has experimental support for the latest revision of the C++ standard,
which was published in 2017.
> C++17 features are available as part of "mainline" GCC in the trunk of
GCC's repository and in > GCC 5 and later. To enable C++17 support, add the
command-line parameter -std=c++17 to your g++ command line. Or, to enable
GNU extensions in addition to C++17 features, add -std=gnu++17.
> Important: Because the final ISO C++17 standard is still new, GCC's
support is experimental. No attempt will be made to maintain backward
compatibility with implementations of C++17 features that do not reflect
the final standard.

Supposing one sticks to standard C++, does one need to worry about
functionality breaking in the future? Seems unlikely, as the standard is
already published but then how should we read that statement?

Thanks,
Bogdan.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux