[libcxx-commits] [libcxx] [libc++][ranges] P2387R3: Pipe support for user-defined range adaptors (PR #89148)
A. Jiang via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Apr 17 19:59:13 PDT 2024
================
@@ -73,6 +81,13 @@ struct __range_adaptor_closure {
}
};
+# if _LIBCPP_STD_VER >= 23
+namespace ranges {
+template <class _Tp>
+using range_adaptor_closure = __range_adaptor_closure<_Tp>;
----------------
frederick-vs-ja wrote:
Can we make `range_adaptor_closure` a class template (as specified in the standard) and derived from `__range_adaptor_closure`? This is the approach of MSVC STL and seemingly working.
https://github.com/llvm/llvm-project/pull/89148
More information about the libcxx-commits
mailing list