================
@@ -845,7 +845,7 @@ class expected : private __expected_base<_Tp, _Err> {
   }
 
   _LIBCPP_HIDE_FROM_ABI constexpr const _Tp&& value() const&& {
-    static_assert(is_copy_constructible_v<_Err> && is_constructible_v<_Err, 
decltype(std::move(error()))>,
+    static_assert(bool(is_copy_constructible_v<_Err> && 
is_constructible_v<_Err, decltype(std::move(error()))>),
----------------
EricWF wrote:

Let's drop this change and work around the expected tests wholly within the 
tests.

https://github.com/llvm/llvm-project/pull/151935
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to