@@ -18,7 +18,7 @@
<li><a href="#cxx11">C++11</a></li>
<li><a href="#cxx14">C++14</a></li>
<li><a href="#cxx17">C++17</a></li>
- <li><a href="#cxx2a">C++2a</a></li>
+ <li><a href="#cxx20">C++20</a></li>
<li><a href="#tses">Technical Specifications</a></li>
</ul>
@@ -31,27 +31,27 @@
Implementation Status</a> section of the Libstdc++ manual.
</p>
- <h2 id="cxx2a">C++2a Support in GCC</h2>
+ <h2 id="cxx20">C++20 Support in GCC</h2>
<p>GCC has experimental support for the next revision of the C++
standard, which is expected to be published in 2020.</p>
- <p>C++2a features are available since GCC 8. To enable C++2a
+ <p>C++20 features are available since GCC 8. To enable C++20
support, add the command-line parameter <code>-std=c++20</code>
(use <code>-std=c++2a</code> in GCC 9 and earlier)
to your <code>g++</code> command line. Or, to enable GNU
- extensions in addition to C++2a features,
- add <code>-std=gnu++2a</code>.</p>
+ extensions in addition to C++20 features,
+ add <code>-std=gnu++20</code>.</p>
- <p><strong>Important</strong>: Because the ISO C++2a standard is
+ <p><strong>Important</strong>: Because the ISO C++20 standard is
still evolving, GCC's support is <strong>experimental</strong>. No attempt
will be made to maintain backward compatibility with implementations of
- C++2a features that do not reflect the final standard.</p>
+ C++20 features that do not reflect the final standard.</p>
- <h2>C++2a Language Features</h2>
+ <h2>C++20 Language Features</h2>
<p>The following table lists new language features that have been
- accepted into the C++2a working draft. The "Proposal" column
+ accepted into the C++20 working draft. The "Proposal" column
provides a link to the ISO C++ committee proposal that describes the
feature, while the "Available in GCC?" column indicates the first
version of GCC that contains an implementation of this feature (if