diff mbox series

[wwwdocs] Document some new C++ features in GCC 12

Message ID 20211120170950.22682-1-polacek@redhat.com
State Committed
Headers show
Series [wwwdocs] Document some new C++ features in GCC 12 | expand

Commit Message

Marek Polacek Nov. 20, 2021, 5:09 p.m. UTC
Pushed.
---
 htdocs/gcc-12/changes.html | 7 +++++++
 1 file changed, 7 insertions(+)


base-commit: f3c71720ba8ec2a5b44f038d0dd649037bffadf4
diff mbox series

Patch

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index 5f0214bd..43fc5bc0 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -166,6 +166,11 @@  a work-in-progress.</p>
   <li>Several C++23 features have been implemented:
     <ul>
       <li>P1938R3, <code>if consteval</code></li>
+      <li>P0849R8, <code>auto(x)</code>: decay-copy in the language</li>
+      <li>P2242R3, Non-literal variables (and labels and gotos) in constexpr functions</li>
+      <li>P2334R1, Support for preprocessing directives <code>elifdef</code> and
+	  <code>elifndef</code></li>
+      <li>P2360R0, Extend <em>init-statement</em> to allow <em>alias-declaration</em></li>
       <li>DR 2397, <code>auto</code> specifier for pointers and references to arrays</li>
     </ul>
   </li>
@@ -175,6 +180,8 @@  a work-in-progress.</p>
       <li>DR 2397, <code>auto</code> specifier for pointers and references to arrays</li>
     </ul>
   </li>
+  <li><code>-Wuninitialized</code> warns about using uninitialized variables in
+      member initializer lists</li>
 </ul>
 
 <h4 id="libstdcxx">Runtime Library (libstdc++)</h4>