[libcxx-commits] [libcxx] [libcxx][NFC] Consolidate testing concept CanBePiped (PR #80154)

Konstantin Varlamov via libcxx-commits libcxx-commits at lists.llvm.org
Mon Feb 12 17:26:48 PST 2024


================
@@ -32,11 +32,6 @@ struct Foo {
   constexpr Foo(int ii) : i(ii) {}
 };
 
-template <class View, class T>
-concept CanBePiped = requires(View&& view, T&& t) {
-  { std::forward<View>(view) | std::forward<T>(t) };
-};
-
 constexpr bool test() {
----------------
var-const wrote:

Include `"test_range.h"`? (or is it not used in this file?)

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


More information about the libcxx-commits mailing list