Skip to content

Commit 3a9d8cd

Browse files
author
Xiaoyang Liu
authored
[libc++][ranges] export std::ranges::range_adaptor_closure (llvm#89793)
This patch exports the `std::ranges::range_adaptor_closure` class template implemented in llvm#89148 from the C++ Modules file.
1 parent 49cb6db commit 3a9d8cd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libcxx/modules/std/ranges.inc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,10 @@ export namespace std {
138138
}
139139
#endif // _LIBCPP_HAS_NO_LOCALIZATION
140140

141+
#if _LIBCPP_STD_VER >= 23
141142
// [range.adaptor.object], range adaptor objects
142-
// using std::ranges::range_adaptor_closure;
143+
using std::ranges::range_adaptor_closure;
144+
#endif
143145

144146
// [range.all], all view
145147
namespace views {

0 commit comments

Comments
 (0)