[libcxx-commits] [libcxx] 3a9d8cd - [libc++][ranges] export `std::ranges::range_adaptor_closure` (#89793)
via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Apr 23 10:23:54 PDT 2024
Author: Xiaoyang Liu
Date: 2024-04-23T13:23:50-04:00
New Revision: 3a9d8cd5fc5e07629b46901accb1884eae1af694
URL: https://github.com/llvm/llvm-project/commit/3a9d8cd5fc5e07629b46901accb1884eae1af694
DIFF: https://github.com/llvm/llvm-project/commit/3a9d8cd5fc5e07629b46901accb1884eae1af694.diff
LOG: [libc++][ranges] export `std::ranges::range_adaptor_closure` (#89793)
This patch exports the `std::ranges::range_adaptor_closure` class
template implemented in #89148 from the C++ Modules file.
Added:
Modified:
libcxx/modules/std/ranges.inc
Removed:
################################################################################
diff --git a/libcxx/modules/std/ranges.inc b/libcxx/modules/std/ranges.inc
index 82c7d99f8979a8..7d215867a4317f 100644
--- a/libcxx/modules/std/ranges.inc
+++ b/libcxx/modules/std/ranges.inc
@@ -138,8 +138,10 @@ export namespace std {
}
#endif // _LIBCPP_HAS_NO_LOCALIZATION
+#if _LIBCPP_STD_VER >= 23
// [range.adaptor.object], range adaptor objects
- // using std::ranges::range_adaptor_closure;
+ using std::ranges::range_adaptor_closure;
+#endif
// [range.all], all view
namespace views {
More information about the libcxx-commits
mailing list