From mboxrd@z Thu Jan 1 00:00:00 1970
Return-Path:
Received: by sourceware.org (Postfix, from userid 2181)
id D18223861032; Tue, 8 Dec 2020 13:05:50 +0000 (GMT)
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D18223861032
To: gcc-cvs-wwwdocs@gcc.gnu.org
Subject: gcc-wwwdocs branch master updated.
927e80dc01f505a625f1fcc4e1ca38aeb9f88e67
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7c56c86ebe102849ec239f0c57e93988169d90f4
X-Git-Newrev: 927e80dc01f505a625f1fcc4e1ca38aeb9f88e67
Message-Id: <20201208130550.D18223861032@sourceware.org>
Date: Tue, 8 Dec 2020 13:05:50 +0000 (GMT)
From: Jonathan Wakely
X-BeenThere: gcc-cvs-wwwdocs@gcc.gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Gcc-cvs-wwwdocs mailing list
List-Unsubscribe: ,
List-Archive:
List-Help:
List-Subscribe: ,
X-List-Received-Date: Tue, 08 Dec 2020 13:05:50 -0000
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 927e80dc01f505a625f1fcc4e1ca38aeb9f88e67 (commit)
from 7c56c86ebe102849ec239f0c57e93988169d90f4 (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 927e80dc01f505a625f1fcc4e1ca38aeb9f88e67
Author: Jonathan Wakely
Date: Tue Dec 8 13:05:42 2020 +0000
Document libstdc++ changes in GCC 11
Also add porting-to notes about tr1::bind.
diff --git a/htdocs/gcc-11/changes.html b/htdocs/gcc-11/changes.html
index 4d3efed5..50e35505 100644
--- a/htdocs/gcc-11/changes.html
+++ b/htdocs/gcc-11/changes.html
@@ -239,7 +239,28 @@ a work-in-progress.
-
+Runtime Library (libstdc++)
+
+ - Improved C++17 support, including:
+
+ std::from_chars
for floating-point types.
+
+ - Improved experimental C++2a support, including:
+
+ - Calendar additions to
<chrono>
.
+ std::bit_cast
+ std::source_location
+ - Atomic wait and notify operations.
+ <latch>
and <semaphore>
+ <syncstream>
+ - Efficient access to
basic_stringbuf
's buffer.
+
+
+ - Faster
std::uniform_int_distribution
,
+ thanks to Daniel Lemire.
+
+
Fortran
diff --git a/htdocs/gcc-11/porting_to.html b/htdocs/gcc-11/porting_to.html
index 41efc3b6..4187dd8e 100644
--- a/htdocs/gcc-11/porting_to.html
+++ b/htdocs/gcc-11/porting_to.html
@@ -114,6 +114,33 @@ be included explicitly when compiled with GCC 11:
+Old iostream Members
+
+The deprecated iostream members ios_base::io_state
,
+ios_base::open_mode
, ios_base::seek_dir
, and
+basic_streambuf::stossc
are not available in C++17 mode.
+References to those members should be replaced by std::iostate
,
+std::openmode
, std::seekdir
, and
+basic_streambuf::sbumpc
respectively.
+
+
+Call of overloaded 'bind(...)'
is ambiguous
+
+The placeholders for std::tr1::bind
have been changed to use
+the same placeholder objects as std::bind
. This means that
+following using std::tr1::bind;
an unqualified call to
+bind(f, std::tr1::placeholders::_1)
may be ambiguous.
+This happens because std::tr1::bind
is brought into scope by
+the using-declaration and std::bind
is found by
+Argument-Dependent Lookup due to the type of the _1
placeholder.
+
+
+To resolve this ambiguity replace unqualified calls to bind
+with std::tr1::bind
or std::bind
. Alternatively,
+change the code to not include the <tr1/functional>
header,
+so that only std::bind
is declared.
+
+
-----------------------------------------------------------------------
Summary of changes:
htdocs/gcc-11/changes.html | 23 ++++++++++++++++++++++-
htdocs/gcc-11/porting_to.html | 27 +++++++++++++++++++++++++++
2 files changed, 49 insertions(+), 1 deletion(-)
hooks/post-receive
--
gcc-wwwdocs