public inbox for gcc-cvs-wwwdocs@sourceware.org
help / color / mirror / Atom feed
From: Jonathan Wakely <redi@sourceware.org>
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated. 24151c175c08222c268d9c37cc8fa255e2b2384c
Date: Wed, 28 Apr 2021 17:00:28 +0000 (GMT)	[thread overview]
Message-ID: <20210428170028.37E633AA982D@sourceware.org> (raw)

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 <jwakely@redhat.com>
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>
 <!-- .................................................................. -->
 <h2>Caveats</h2>
 <ul>
+  <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>
   <li>...</li>
 </ul>
 

-----------------------------------------------------------------------

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


hooks/post-receive
-- 
gcc-wwwdocs


                 reply	other threads:[~2021-04-28 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210428170028.37E633AA982D@sourceware.org \
    --to=redi@sourceware.org \
    --cc=gcc-cvs-wwwdocs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).