From 0e0beddd7fb4c0d2157c7f0c7d3f39e9533bb323 Mon Sep 17 00:00:00 2001
From: Jonathan Wakely
Date: Tue, 13 Oct 2020 17:40:43 +0100
Subject: [PATCH] libstdc++: Update C++20 status documentation
libstdc++-v3/ChangeLog:
* doc/xml/manual/evolution.xml: Document some API changes
and deprecations.
* doc/xml/manual/intro.xml: Document LWG 2499.
* doc/xml/manual/status_cxx2020.xml: Update status.
* doc/html/*: Regenerate.
---
libstdc++-v3/doc/html/index.html | 2 +-
libstdc++-v3/doc/html/manual/api.html | 24 +++++++++++++
libstdc++-v3/doc/html/manual/appendix.html | 2 +-
.../doc/html/manual/appendix_porting.html | 2 +-
libstdc++-v3/doc/html/manual/bugs.html | 5 +++
libstdc++-v3/doc/html/manual/index.html | 2 +-
libstdc++-v3/doc/html/manual/status.html | 6 ++--
libstdc++-v3/doc/xml/manual/evolution.xml | 36 +++++++++++++++++++
libstdc++-v3/doc/xml/manual/intro.xml | 8 +++++
.../doc/xml/manual/status_cxx2020.xml | 4 +--
10 files changed, 81 insertions(+), 10 deletions(-)
diff --git a/libstdc++-v3/doc/html/index.html b/libstdc++-v3/doc/html/index.html
index 02e91b1fb3e..d336859f1df 100644
--- a/libstdc++-v3/doc/html/index.html
+++ b/libstdc++-v3/doc/html/index.html
@@ -142,7 +142,7 @@
Existing tests
C++11 Requirements Test Sequence Descriptions
-ABI Policy and Guidelines- The C++ Interface
- Versioning
- Goals
- History
- Prerequisites
- Configuring
- Checking Active
- Allowed Changes
- Prohibited Changes
- Implementation
- Testing
- Single ABI Testing
- Multiple ABI Testing
- Outstanding Issues
API Evolution and Deprecation History3.0
3.1
3.2
3.3
3.4
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
5
5.3
6
7
7.2
7.3
8
9
10
Backwards Compatibility- First
- No
ios_base
- No
cout
in <ostream.h>
, no cin
in <istream.h>
- Second
- Namespace
std::
not supported - Illegal iterator usage
isspace
from <cctype>
is a macro
+
ABI Policy and Guidelines- The C++ Interface
- Versioning
- Goals
- History
- Prerequisites
- Configuring
- Checking Active
- Allowed Changes
- Prohibited Changes
- Implementation
- Testing
- Single ABI Testing
- Multiple ABI Testing
- Outstanding Issues
API Evolution and Deprecation History3.0
3.1
3.2
3.3
3.4
4.0
4.1
4.2
4.3
4.4
4.5
4.6
4.7
4.8
4.9
5
5.3
6
7
7.2
7.3
8
9
10
11
Backwards Compatibility- First
- No
ios_base
- No
cout
in <ostream.h>
, no cin
in <istream.h>
- Second
- Namespace
std::
not supported - Illegal iterator usage
isspace
from <cctype>
is a macro
- No
vector::at
, deque::at
, string::at
- No
std::char_traits<char>::eof
- No
string::clear
-
Removal of
ostream::form
and istream::scan
extensions
diff --git a/libstdc++-v3/doc/html/manual/api.html b/libstdc++-v3/doc/html/manual/api.html
index 394c38c3ec5..1849e115936 100644
--- a/libstdc++-v3/doc/html/manual/api.html
+++ b/libstdc++-v3/doc/html/manual/api.html
@@ -405,4 +405,28 @@ now defaults to zero.
for C++20 mode. The removed functionality has been provided by
std::allocator_traits
since C++11 and that should
be used instead.
+
+ Experimental C++2a support improved, with new headers
+ <concepts>
,
+ <ranges>
,
+ <compare>
,
+ <coroutine>
,
+ <numbers>
,
+ <span>
,
+ and
+ <stop_token>
+ added.
+
+ The --enable-cheaders=c_std
configuration
+ was deprecated.
+
+ When compiling as C++20, the operator>>
overloads
+ for extracting strings into character buffers only work with arrays,
+ not raw pointers.
+
+ std::string::reserve(n)
will no longer reduce
+ the string's capacity.
+ Calling reserve()
with no arguments is equivalent
+ to shrink_to_fit()
, but is deprecated.
+ shrink_to_fit()
should be used instead.