diff options
author | Xiaoyang Liu <siujoeng.lau@gmail.com> | 2024-04-23 13:23:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 13:23:50 -0400 |
commit | 3a9d8cd5fc5e07629b46901accb1884eae1af694 (patch) | |
tree | c7b4bef57c0d5831bf42eccc4872d29643cae6d5 | |
parent | 49cb6dbcb8537270cd0e2a9bcd6663d2e619f5aa (diff) |
[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.
-rw-r--r-- | libcxx/modules/std/ranges.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libcxx/modules/std/ranges.inc b/libcxx/modules/std/ranges.inc index 82c7d99f8979..7d215867a431 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 { |