aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm-project/libcxx/modules/std/algorithm.inc
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2024-07-27 23:34:35 +0000
committerDimitry Andric <dim@FreeBSD.org>2024-10-23 18:26:01 +0000
commit0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583 (patch)
tree6cf5ab1f05330c6773b1f3f64799d56a9c7a1faa /contrib/llvm-project/libcxx/modules/std/algorithm.inc
parent6b9f7133aba44189d9625c352bc2c2a59baf18ef (diff)
parentac9a064cb179f3425b310fa2847f8764ac970a4d (diff)
Diffstat (limited to 'contrib/llvm-project/libcxx/modules/std/algorithm.inc')
-rw-r--r--contrib/llvm-project/libcxx/modules/std/algorithm.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/contrib/llvm-project/libcxx/modules/std/algorithm.inc b/contrib/llvm-project/libcxx/modules/std/algorithm.inc
index 75e8a3af78de..3c2139cd64ee 100644
--- a/contrib/llvm-project/libcxx/modules/std/algorithm.inc
+++ b/contrib/llvm-project/libcxx/modules/std/algorithm.inc
@@ -46,9 +46,7 @@ export namespace std {
// [alg.contains], contains
namespace ranges {
using std::ranges::contains;
-#if 0
using std::ranges::contains_subrange;
-#endif
} // namespace ranges
#endif // _LIBCPP_STD_VER >= 23
@@ -79,13 +77,14 @@ export namespace std {
using std::ranges::find_if_not;
} // namespace ranges
+#if _LIBCPP_STD_VER >= 23
+ // [alg.find.last], find last
namespace ranges {
-#if 0
using std::ranges::find_last;
using std::ranges::find_last_if;
using std::ranges::find_last_if_not;
-#endif
} // namespace ranges
+#endif
// [alg.find.end], find end
using std::find_end;