-std=c++17 already in GCC 5+
Hi,
doesn't GCC 7+ (actually 5.1+) already support the flag -std=c++17
?
Documentation doesn't list it:
- https://gcc.gnu.org/onlinedocs/gcc-5.1.0/gcc/C-Dialect-Options.html
- https://gcc.gnu.org/onlinedocs/gcc-7.1.0/gcc/C-Dialect-Options.html
Officially listed in docs in (8.1):
But it's there since GCC 5.1 (undocumented):
- https://github.com/gcc-mirror/gcc/commit/4b53bc0f989bb7e98b21494a7a92302f324594d0
- https://github.com/gcc-mirror/gcc/blob/4b53bc0f989bb7e98b21494a7a92302f324594d0/gcc/c-family/c.opt#L1421-L1422
Code base:
Edited by Axel Huebl