public inbox for
help / color / mirror / Atom feed
* gcc-wwwdocs branch master updated. 24151c175c08222c268d9c37cc8fa255e2b2384c
@ 2021-04-28 17:00 Jonathan Wakely
  0 siblings, 0 replies; only message in thread
From: Jonathan Wakely @ 2021-04-28 17:00 UTC (permalink / raw)
  To: gcc-cvs-wwwdocs

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gcc-wwwdocs".

The branch, master has been updated
       via  24151c175c08222c268d9c37cc8fa255e2b2384c (commit)
      from  b9e5cd3fdae7ae811cfb22c44a6366cb5b372e72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 24151c175c08222c268d9c37cc8fa255e2b2384c
Author: Jonathan Wakely <>
Date:   Wed Apr 28 17:59:50 2021 +0100

    Document deprecation of non-standard std::pair constructors for GCC 12

diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html
index e0ac986e..912fc59b 100644
--- a/htdocs/gcc-12/changes.html
+++ b/htdocs/gcc-12/changes.html
@@ -30,6 +30,13 @@ a work-in-progress.</p>
 <!-- .................................................................. -->
+  <li>
+    Two non-standard <tt>std::pair</tt> constructors have been deprecated.
+    These allowed the use of an rvalue and a literal <tt>0</tt> to construct
+    a pair containing a move-only type and a pointer. The <tt>nullptr</tt>
+    keyword should be used to initialize the pointer member instead of a
+    literal <tt>0</tt>, as this is portable to other C++ implementations.
+  </li>


Summary of changes:
 htdocs/gcc-12/changes.html | 7 +++++++
 1 file changed, 7 insertions(+)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-28 17:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-28 17:00 gcc-wwwdocs branch master updated. 24151c175c08222c268d9c37cc8fa255e2b2384c Jonathan Wakely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).