[libcxx-commits] [libcxx] [libc++][ranges] P2387R3: Pipe support for user-defined range adaptors (PR #89148)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 22 07:06:09 PDT 2024
================
@@ -41,6 +42,7 @@ _LIBCPP_BEGIN_NAMESPACE_STD
// - `x | f` is equivalent to `f(x)`
// - `f1 | f2` is an adaptor closure `g` such that `g(x)` is equivalent to `f2(f1(x))`
template <class _Tp>
+ requires is_class_v<_Tp> && same_as<_Tp, remove_cv_t<_Tp>>
----------------
ldionne wrote:
Would it make sense to move this class to namespace `ranges::`?
https://github.com/llvm/llvm-project/pull/89148
More information about the libcxx-commits
mailing list