[libcxx-commits] [clang] [libcxx] [Clang] Add detailed notes explaining why `is_constructible` evaluates to false (Revert 16d5db7) (PR #151935)

via libcxx-commits libcxx-commits at lists.llvm.org
Mon Aug 4 11:44:46 PDT 2025


================
@@ -55,6 +55,7 @@ void test() {
       // expected-error-re@*:* {{static assertion failed {{.*}}The result of f() must be a specialization of std::expected}}
----------------
EricWF wrote:

OK, so these tests are a mess. libc++ shouldn't be using verify tests like this. 

Given how brittle these tests are, and how little they actually meaningfully test today, I think it's fair to simply make them work again. However you can; let's just not modify the headers to work around these tests.



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


More information about the libcxx-commits mailing list