From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2181) id F308A3857C77; Wed, 19 Jan 2022 01:03:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F308A3857C77 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Jonathan Wakely To: gcc-cvs@gcc.gnu.org, libstdc++-cvs@gcc.gnu.org Subject: [gcc r12-6711] libstdc++: Update documentation for C++17 deprecations X-Act-Checkin: gcc X-Git-Author: Jonathan Wakely X-Git-Refname: refs/heads/master X-Git-Oldrev: a68080a121de0d1a0604dd71a96f42c8266e136b X-Git-Newrev: 9c186493a7cc1c911910b9c37220334f9529912d Message-Id: <20220119010330.F308A3857C77@sourceware.org> Date: Wed, 19 Jan 2022 01:03:30 +0000 (GMT) X-BeenThere: libstdc++-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libstdc++-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Jan 2022 01:03:31 -0000 https://gcc.gnu.org/g:9c186493a7cc1c911910b9c37220334f9529912d commit r12-6711-g9c186493a7cc1c911910b9c37220334f9529912d Author: Jonathan Wakely Date: Tue Jan 18 22:31:49 2022 +0000 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. Diff: --- 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 - No (kept for backwards compatibility)  Deprecating Vestigial Library Parts in C++17 + No (kept for backwards compatibility)  Deprecating Vestigial Library Parts in C++17 P0174R2 - No (kept for backwards compatibility)  Making std::owner_less more flexible + 12.1   Making std::owner_less more flexible 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