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

A. Jiang via libcxx-commits libcxx-commits at lists.llvm.org
Tue Dec 26 00:19:15 PST 2023


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

> Out of interest, according to the LWG issue, this test should never work. Do you know why there was not an issue before?

This is because of Clang's non-conforming acception of move-only exception types, which is reported as #53224.

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


More information about the libcxx-commits mailing list