[libcxx-commits] [libcxx] 0a7e5e3 - [libc++][docs] Document _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION (#115405)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Nov 8 03:35:35 PST 2024


Author: Alona Enraght-Moony
Date: 2024-11-08T12:35:31+01:00
New Revision: 0a7e5e34569737447e9e3e08b5f87883300061e5

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

LOG: [libc++][docs] Document _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION (#115405)

This was added in 681cde7dd8b5613dbafc9ca54e0288477f946be3, but isn't
currently documented.

Added: 
    

Modified: 
    libcxx/docs/UserDocumentation.rst

Removed: 
    


################################################################################
diff  --git a/libcxx/docs/UserDocumentation.rst b/libcxx/docs/UserDocumentation.rst
index 1db437ce58b95e..2c1bc1373659c3 100644
--- a/libcxx/docs/UserDocumentation.rst
+++ b/libcxx/docs/UserDocumentation.rst
@@ -156,6 +156,9 @@ C++17 Specific Configuration Macros
 **_LIBCPP_ENABLE_CXX17_REMOVED_RANDOM_SHUFFLE**:
   This macro is used to re-enable the `random_shuffle` algorithm.
 
+**_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION**:
+  This macro is used to re-enable `unary_function` and `binary_function`.
+
 **_LIBCPP_ENABLE_CXX17_REMOVED_UNEXPECTED_FUNCTIONS**:
   This macro is used to re-enable `set_unexpected`, `get_unexpected`, and
   `unexpected`.


        


More information about the libcxx-commits mailing list