[libcxx-commits] [libcxx] [libc++][docs] Document _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION (PR #115405)
Alona Enraght-Moony via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Nov 7 17:06:05 PST 2024
https://github.com/aDotInTheVoid created https://github.com/llvm/llvm-project/pull/115405
This was added in 681cde7dd8b5613dbafc9ca54e0288477f946be3, but isn't currently documented.
>From 18ff69641b234d0325f05787db551968ea899a5c Mon Sep 17 00:00:00 2001
From: Alona Enraght-Moony <code at alona.page>
Date: Fri, 8 Nov 2024 01:02:57 +0000
Subject: [PATCH] [libc++][docs] Document
_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
---
libcxx/docs/UserDocumentation.rst | 3 +++
1 file changed, 3 insertions(+)
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