[libcxx-commits] [libcxx] [libc++] Fix UB in <expected> related to "has value" flag (#68552) (PR #68733)

Jan Kokemüller via libcxx-commits libcxx-commits at lists.llvm.org
Tue Oct 17 11:25:13 PDT 2023


================
@@ -43,6 +44,16 @@ constexpr bool test() {
     assert(!e.has_value());
   }
 
+  // See comments of the corresponding test in "expected.expected".
----------------
jiixyj wrote:

done!

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


More information about the libcxx-commits mailing list