[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 14:49:41 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:
Since the standard doesn't specify this as an alias template, we probably need a better way to control its visibility.
https://github.com/llvm/llvm-project/pull/89148
More information about the libcxx-commits
mailing list