From 9c186493a7cc1c911910b9c37220334f9529912d Mon Sep 17 00:00:00 2001
From: Jonathan Wakely
Date: Tue, 18 Jan 2022 22:31:49 +0000
Subject: [PATCH] libstdc++: Update documentation for C++17 deprecations
libstdc++-v3/ChangeLog:
* doc/xml/manual/evolution.xml: Document deprecations.
* doc/xml/manual/status_cxx2017.xml: Update status.
* doc/html/*: Regenerate.
---
libstdc++-v3/doc/html/manual/api.html | 10 ++++++++++
libstdc++-v3/doc/html/manual/status.html | 4 ++--
libstdc++-v3/doc/xml/manual/evolution.xml | 14 ++++++++++++++
libstdc++-v3/doc/xml/manual/status_cxx2017.xml | 3 +--
4 files changed, 27 insertions(+), 4 deletions(-)
diff --git a/libstdc++-v3/doc/html/manual/api.html b/libstdc++-v3/doc/html/manual/api.html
index 1c7fdaa7394..26087775708 100644
--- a/libstdc++-v3/doc/html/manual/api.html
+++ b/libstdc++-v3/doc/html/manual/api.html
@@ -445,6 +445,16 @@ The std::unexpected function and related typedef a
accessors for the unexpected handler are deprecated for C++11 and later.
Dynamic exception specifications should be replaced with noexcept.
+C++98 adaptable function utilities
+(std::bind1st, std::unary_function,
+std::ptr_fun, std::mem_fun_ref etc.)
+were deprecated for C++11.
+std::iterator, std::raw_storage_iterator,
+get_temporary_buffer, and std::not_fun
+were deprecated for C++17.
+
+Non-standard std::pair constructors were deprecated.
+
The bitmap, mt, and pool
options for --enable-libstdcxx-allocator were removed.
For the new option, std::allocator
diff --git a/libstdc++-v3/doc/html/manual/status.html b/libstdc++-v3/doc/html/manual/status.html
index 960497d3f46..9a350d6f8fa 100644
--- a/libstdc++-v3/doc/html/manual/status.html
+++ b/libstdc++-v3/doc/html/manual/status.html
@@ -676,11 +676,11 @@ Feature-testing recommendations for C++.
N4190
-
P0074R0
diff --git a/libstdc++-v3/doc/xml/manual/evolution.xml b/libstdc++-v3/doc/xml/manual/evolution.xml
index 34e44ee93e4..f5bc6471465 100644
--- a/libstdc++-v3/doc/xml/manual/evolution.xml
+++ b/libstdc++-v3/doc/xml/manual/evolution.xml
@@ -1033,6 +1033,20 @@ accessors for the unexpected handler are deprecated for C++11 and later.
Dynamic exception specifications should be replaced with noexcept.
+
+C++98 adaptable function utilities
+(std::bind1st, std::unary_function,
+std::ptr_fun, std::mem_fun_ref etc.)
+were deprecated for C++11.
+std::iterator, std::raw_storage_iterator,
+get_temporary_buffer, and std::not_fun
+were deprecated for C++17.
+
+
+
+Non-standard std::pair constructors were deprecated.
+
+
The bitmap, mt, and pool
options for were removed.
diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
index 459bb13a629..3e11861c7bd 100644
--- a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
+++ b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml
@@ -265,14 +265,13 @@ Feature-testing recommendations for C++.
-
Deprecating Vestigial Library Parts in C++17
P0174R2
- No (kept for backwards compatibility)
+ 12.1