From: Jonathan Wakely Date: Tue, 18 Jan 2022 22:31:49 +0000 (+0000) Subject: libstdc++: Update documentation for C++17 deprecations X-Git-Tag: upstream/12.2.0~1986 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9c186493a7cc1c911910b9c37220334f9529912d;p=platform%2Fupstream%2Fgcc.git 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 --git a/libstdc++-v3/doc/html/manual/api.html b/libstdc++-v3/doc/html/manual/api.html index 1c7fdaa..2608777 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 960497d..9a350d6 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 34e44ee..f5bc647 100644 --- a/libstdc++-v3/doc/xml/manual/evolution.xml +++ b/libstdc++-v3/doc/xml/manual/evolution.xml @@ -1034,6 +1034,20 @@ 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. For the new option, std::allocator diff --git a/libstdc++-v3/doc/xml/manual/status_cxx2017.xml b/libstdc++-v3/doc/xml/manual/status_cxx2017.xml index 459bb13..3e11861 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