[committed] libstdc++: Update documentation for C++17 deprecations

Message ID 20220119010449.3865733-1-jwakely@redhat.com
State Committed
Commit 9c186493a7cc1c911910b9c37220334f9529912d
Headers
Series [committed] libstdc++: Update documentation for C++17 deprecations |

Commit Message

Jonathan Wakely Jan. 19, 2022, 1:04 a.m. UTC
  Pushed to trunk.


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(-)
  

Patch

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 <code>noexcept</code>.
 </para>
 
+<para>
+C++98 adaptable function utilities
+(<code>std::bind1st</code>, <code>std::unary_function</code>,
+<code>std::ptr_fun</code>, <code>std::mem_fun_ref</code> etc.)
+were deprecated for C++11.
+<code>std::iterator</code>, <code>std::raw_storage_iterator</code>,
+<code>get_temporary_buffer</code>, and <code>std::not_fun</code>
+were deprecated for C++17.
+</para>
+
+<para>
+Non-standard <code>std::pair</code> constructors were deprecated.
+</para>
+
 <para>
 The <literal>bitmap</literal>, <literal>mt</literal>, and <literal>pool</literal>
 options for <option>--enable-libstdcxx-allocator</option> 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++</link>.
     </row>
 
     <row>
-      <?dbhtml bgcolor="#C8B0B0" ?>
       <entry> Deprecating Vestigial Library Parts in C++17 </entry>
       <entry>
 	<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0174r2.html">
 	P0174R2
 	</link>
       </entry>
-      <entry align="center"> No  (kept for backwards compatibility)</entry>
+      <entry align="center"> 12.1 </entry>
       <entry/>
     </row>