[libcxx-commits] [libcxx] [libc++][ranges] P2387R3: Pipe support for user-defined range adaptors (PR #89148)

Xiaoyang Liu via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 17 21:31:17 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>;
----------------
xiaoyang-sde wrote:

Thanks! I've applied this approach in the latest commit.

https://github.com/llvm/llvm-project/pull/89148


More information about the libcxx-commits mailing list