[libcxx-commits] [libcxx] [libc++] Implement LWG3940 (std::expected<void, E>::value() also needs E to be copy constructible) (PR #71819)

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Nov 16 05:01:55 PST 2023


================
@@ -65,17 +65,6 @@ void testException() {
     }
   }
 
-  // MoveOnly
----------------
PragmaTwice wrote:

Yeah due to LWG3940 it cannot pass the compiler. But I guess before this the `expected::value` implementation can actually accept move-only types.

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


More information about the libcxx-commits mailing list