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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 7 17:06:55 PST 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Alona Enraght-Moony (aDotInTheVoid)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/115405.diff


1 Files Affected:

- (modified) libcxx/docs/UserDocumentation.rst (+3) 


``````````diff
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`.

``````````

</details>


https://github.com/llvm/llvm-project/pull/115405


More information about the libcxx-commits mailing list