[libcxx-commits] [libcxx] f397775 - [libc++] Add release note about unary_function and binary_function being removed in >= C++17

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Mon Sep 26 06:45:35 PDT 2022


Author: Louis Dionne
Date: 2022-09-26T09:45:21-04:00
New Revision: f3977750002f3482136c084ca52aa4c4a7b03107

URL: https://github.com/llvm/llvm-project/commit/f3977750002f3482136c084ca52aa4c4a7b03107
DIFF: https://github.com/llvm/llvm-project/commit/f3977750002f3482136c084ca52aa4c4a7b03107.diff

LOG: [libc++] Add release note about unary_function and binary_function being removed in >= C++17

Added: 
    

Modified: 
    libcxx/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/libcxx/docs/ReleaseNotes.rst b/libcxx/docs/ReleaseNotes.rst
index c01332696218c..2b1683af088f2 100644
--- a/libcxx/docs/ReleaseNotes.rst
+++ b/libcxx/docs/ReleaseNotes.rst
@@ -50,6 +50,9 @@ Improvements and New Features
 
 Deprecations and Removals
 -------------------------
+- ``unary_function`` and ``binary_function`` are no longer provided in C++17 and newer Standard modes.
+  They can be re-enabled with ``_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION``.
+
 - Several incidental transitive includes have been removed from libc++. Those
   includes are removed based on the language version used. Incidental transitive
   inclusions of the following headers have been removed:


        


More information about the libcxx-commits mailing list