]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libstdc++: Document final option names for enabling C++20
authorJonathan Wakely <jwakely@redhat.com>
Mon, 17 Jan 2022 11:26:21 +0000 (11:26 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Mon, 4 Apr 2022 11:45:29 +0000 (12:45 +0100)
libstdc++-v3/ChangeLog:

* doc/xml/manual/status_cxx2020.xml: Use final C++20 option
names.
* doc/html/manual/status.html: Regenerate.

(cherry picked from commit 5a3dc58a1d7a792e776a59389e8901b614ce6d0d)

libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/status_cxx2020.xml

index 6b9648d1a7dbcfdb9b6ca34503076880889fea6b..43c67b295c7ec743a1c15127ae28abc217170363 100644 (file)
@@ -1233,8 +1233,8 @@ since C++14 and the implementation is complete.
                   vectorizable types with <code class="code">sizeof(T)</code> &lt; 4
                 </td><td align="left">"-mavx512bw" and "-mavx512vl"</td></tr></tbody></table></div></div><p><br class="table-break" />
      </p></div></div></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="status.iso.2020"></a>C++ 2020</h3></div></div></div><p>
-In this implementation the <code class="literal">-std=gnu++2a</code> or
-<code class="literal">-std=c++2a</code> flag must be used to enable language
+In this implementation the <code class="literal">-std=gnu++20</code> or
+<code class="literal">-std=c++20</code> flag must be used to enable language
 and library
 features. See <a class="link" href="using.html#manual.intro.using.flags" title="Command Options">dialect</a>
 options. The pre-defined symbol
index a729ddd3ada206ef30c8ca5f1df00d4870a8e80d..9e9777ea85f544ddb71ba21fe8a36af54c2da39e 100644 (file)
@@ -10,8 +10,8 @@
 </info>
 
 <para>
-In this implementation the <literal>-std=gnu++2a</literal> or
-<literal>-std=c++2a</literal> flag must be used to enable language
+In this implementation the <literal>-std=gnu++20</literal> or
+<literal>-std=c++20</literal> flag must be used to enable language
 and library
 features. See <link linkend="manual.intro.using.flags">dialect</link>
 options. The pre-defined symbol