]> gcc.gnu.org Git - gcc.git/commitdiff
libstdc++: Update documentation for C++17 deprecations
authorJonathan Wakely <jwakely@redhat.com>
Tue, 18 Jan 2022 22:31:49 +0000 (22:31 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Wed, 19 Jan 2022 00:58:26 +0000 (00:58 +0000)
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
libstdc++-v3/doc/html/manual/status.html
libstdc++-v3/doc/xml/manual/evolution.xml
libstdc++-v3/doc/xml/manual/status_cxx2017.xml

index 1c7fdaa7394c4550e7e1e36dddb44fae3d7056b1..26087775708b46ef7460c2f30db8e19adb95c16e 100644 (file)
@@ -445,6 +445,16 @@ The <code class="function">std::unexpected</code> function and related typedef a
 accessors for the unexpected handler are deprecated for C++11 and later.
 Dynamic exception specifications should be replaced with <code class="code">noexcept</code>.
 </p><p>
+C++98 adaptable function utilities
+(<code class="code">std::bind1st</code>, <code class="code">std::unary_function</code>,
+<code class="code">std::ptr_fun</code>, <code class="code">std::mem_fun_ref</code> etc.)
+were deprecated for C++11.
+<code class="code">std::iterator</code>, <code class="code">std::raw_storage_iterator</code>,
+<code class="code">get_temporary_buffer</code>, and <code class="code">std::not_fun</code>
+were deprecated for C++17.
+</p><p>
+Non-standard <code class="code">std::pair</code> constructors were deprecated.
+</p><p>
 The <code class="literal">bitmap</code>, <code class="literal">mt</code>, and <code class="literal">pool</code>
 options for <code class="option">--enable-libstdcxx-allocator</code> were removed.
 For the <code class="literal">new</code> option, <code class="classname">std::allocator</code>
index 960497d3f46dcc9b2a1d695da5cd8d0b8a7841d6..9a350d6f8fac246cb1de066a738429c5088d8a9c 100644 (file)
@@ -676,11 +676,11 @@ Feature-testing recommendations for C++</a>.
        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4190.htm" target="_top">
          N4190
        </a>
-      </td><td align="center">No (kept for backwards compatibility)</td><td align="left"> </td></tr><tr bgcolor="#C8B0B0"><td align="left"> Deprecating Vestigial Library Parts in C++17 </td><td align="left">
+      </td><td align="center">No (kept for backwards compatibility)</td><td align="left"> </td></tr><tr><td align="left"> Deprecating Vestigial Library Parts in C++17 </td><td align="left">
        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0174r2.html" target="_top">
        P0174R2
        </a>
-      </td><td align="center"> No  (kept for backwards compatibility)</td><td align="left"> </td></tr><tr><td align="left"> Making <code class="code">std::owner_less</code> more flexible </td><td align="left">
+      </td><td align="center"> 12.1 </td><td align="left"> </td></tr><tr><td align="left"> Making <code class="code">std::owner_less</code> more flexible </td><td align="left">
        <a class="link" href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0074r0.html" target="_top">
        P0074R0
        </a>
index 34e44ee93e40a32939506ccfb161a3fdac951f37..f5bc6471465d42418ed79e5797f732771e6e0b0c 100644 (file)
@@ -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.
index 459bb13a629192f4f11734907c244dac589535b5..3e11861c7bd6f9ef846d9dd27c1fec075d2673a3 100644 (file)
@@ -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>
 
This page took 0.075407 seconds and 5 git commands to generate.